This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] aout relocs


Check me on this one, I'm a little uncertain.

As near as I can tell, if reloc_size is zero, the routine does
nothing useful.  Maybe it will never be zero, but if it is, a few
iffy things will happen:

 * we'll call malloc with a size of zero, which is ill defined,
and later free the result

 * we'll call bfd_bread with a size of zero, and

 * a potentially null pointer may slip thru the cracks.

Attachment: reloc.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]