V2 [PATCH] readelf: Consolidate --syms --use-dynamic with --dyn-syms table

H.J. Lu hjl.tools@gmail.com
Wed Apr 15 12:04:06 GMT 2020


On Tue, Apr 14, 2020 at 8:19 PM Alan Modra <amodra@gmail.com> wrote:
>
> 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;
>         }
>

Thanks.

-- 
H.J.


More information about the Binutils mailing list