readelf [PATCH]

Sergei Pachkov spigel@olvs.miee.ru
Mon Nov 4 05:29:00 GMT 2002


Hello.
I have found a little bug in "readelf" this weekend.
Sometimes variable called "process_headers" may have NULL value and its 
members reading would be failed.
For avoid this problem I have wrote little patch.
In the patch I have add few checks of variable process_headers like this:
if (process_headers != NULL)
or
if (process_headers == NULL)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: readelf.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20021104/4465a4d8/attachment.ksh>


More information about the Binutils mailing list