V2 [PATCH] readelf: Consolidate --syms --use-dynamic with --dyn-syms table
Alan Modra
amodra@gmail.com
Wed Apr 15 03:18:55 GMT 2020
The fuzzers certainly found this one quickly.
PR 25821
* readelf.c (get_num_dynamic_syms): Typo fix.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9149bb8ce4..efcd6f30e7 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9997,7 +9997,7 @@ get_num_dynamic_syms (Filedata * filedata)
if (chains)
{
free (chains);
- buckets = NULL;
+ chains = NULL;
}
nbuckets = 0;
}
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list