Null deference #302

Closed
opened 2026-01-29 20:41:39 +00:00 by claunia · 1 comment
Owner

Originally created by @QiAnXinCodeSafe on GitHub (Jan 16, 2020).

There is no check for the failed malloc
ee2a5e1540/c/fuzz/run_decode_fuzzer.c (L29)

This in turn would cause a segfault, when buff is dereferenced
ee2a5e1540/c/fuzz/run_decode_fuzzer.c (L30)

Originally created by @QiAnXinCodeSafe on GitHub (Jan 16, 2020). There is no check for the failed malloc https://github.com/google/brotli/blob/ee2a5e1540cbd6ef883a897499d9596307f7f7f9/c/fuzz/run_decode_fuzzer.c#L29 This in turn would cause a segfault, when buff is dereferenced https://github.com/google/brotli/blob/ee2a5e1540cbd6ef883a897499d9596307f7f7f9/c/fuzz/run_decode_fuzzer.c#L30
Author
Owner

@eustas commented on GitHub (Jan 27, 2020):

This code is never executed - it is just a toy to check that fuzzer could be compiled. Will fix when get few free cycles.

@eustas commented on GitHub (Jan 27, 2020): This code is never executed - it is just a toy to check that fuzzer could be compiled. Will fix when get few free cycles.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#302