Re: [PATCH] src/readelf.c: Access symbol and version data only if available

2025-04-15 Thread Mark Wielaard
Hi Aaron, Hi Constantine, On Thu, 2025-04-10 at 10:52 -0400, Aaron Merey wrote: > handle_dynamic_symtab can attempt to read symbol and version data from > file offset 0 if the associated DT_ tags aren't found. > > Fix this by only reading symbol and version data when non-zero file > offsets have

[PATCH] src/readelf.c: Access symbol and version data only if available

2025-04-10 Thread Aaron Merey
handle_dynamic_symtab can attempt to read symbol and version data from file offset 0 if the associated DT_ tags aren't found. Fix this by only reading symbol and version data when non-zero file offsets have been found. https://sourceware.org/bugzilla/show_bug.cgi?id=32864 Suggested-by: Constanti