mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
fix null ptr deref before trim_case_custom call
This commit is contained in:
parent
e43473faef
commit
70a67ca67d
@ -680,7 +680,8 @@ void sync_fuzzers(char** argv) {
|
|||||||
u8 trim_case(char** argv, struct queue_entry* q, u8* in_buf) {
|
u8 trim_case(char** argv, struct queue_entry* q, u8* in_buf) {
|
||||||
|
|
||||||
/* Custom mutator trimmer */
|
/* Custom mutator trimmer */
|
||||||
if (mutator->afl_custom_trim) return trim_case_custom(argv, q, in_buf);
|
if (mutator && mutator->afl_custom_trim)
|
||||||
|
return trim_case_custom(argv, q, in_buf);
|
||||||
|
|
||||||
static u8 tmp[64];
|
static u8 tmp[64];
|
||||||
static u8 clean_trace[MAP_SIZE];
|
static u8 clean_trace[MAP_SIZE];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user