[PATCH] aout relocs
Wed Jul 25 20:10:00 GMT 2007
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Binutils