mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
fixed uaf and warnings
This commit is contained in:
@ -130,6 +130,8 @@ void load_extras_file(afl_state_t *afl, u8 *fname, u32 *min_len, u32 *max_len,
|
||||
|
||||
wptr = afl->extras[afl->extras_cnt].data = ck_alloc(rptr - lptr);
|
||||
|
||||
if (!wptr) PFATAL("no mem for data");
|
||||
|
||||
while (*lptr) {
|
||||
|
||||
char *hexdigits = "0123456789abcdef";
|
||||
|
Reference in New Issue
Block a user