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

2025-05-06 Thread Mark Wielaard
Hi Aaron, Hi Constantine, On Mon, 2025-05-05 at 10:44 -0400, Aaron Merey wrote: > handle_dynamic_symtab can attempt to read symbol and version data from > file offset of 0 or address of 0 if the associated DT_ tags aren't found. > > Fix this by only reading symbol and version data when non-zero f

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

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