Bug in pe_print_idata

Laurent Pinchart laurent.pinchart@skynet.be
Mon May 6 13:39:00 GMT 2002


Hi everybody,

I found a bug in pe_print_idata. In some PE files (namely drivers) the 'first 
thunk' is not located in the same section as the import table itself. This 
leads to weird behaviours, and segfaults.

I attached a patch to fix the problem to this mail. It would be nice if 
someone with more binutils (especially bfd) knowledge than me could have a 
look at it, correct it (it works here but I'm pretty sure that I forgot 
something) and apply it.

Please cc: me if you reply to this email as I'm not subscribed to this list.

Laurent Pinchart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peXXigen.c.diff
Type: text/x-c
Size: 2220 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20020506/be5fe9e2/attachment.bin>


More information about the Binutils mailing list