mirror of https://github.com/google/oss-fuzz.git
Upstream binutils commit 978c4450511 broke this target. What's more, the use-after-free issue had been fixed quite some time ago. So, don't reference symtab_shndx_list.
This commit is contained in:
parent
d967b71245
commit
a6dae35933
|
@ -50,12 +50,5 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
|||
free (dump_ctf_strtab_name);
|
||||
free (dump_ctf_parent_name);
|
||||
|
||||
// Unless we set this global variable to NULL, then we will run
|
||||
// into a use-after-free error after a certain set of iterations.
|
||||
// I have applied this patch because the authors of binutils
|
||||
// prefer to think of their applications as "one-use-only" as written
|
||||
// here: https://github.com/google/oss-fuzz/pull/2617
|
||||
symtab_shndx_list = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue