Patch: Zero out the allocated dynamic content space.
Jeffrey A Law
law@cygnus.com
Mon Aug 21 17:05:00 GMT 2000
In message < 200008212339.QAA24166@elmo.cygnus.com >you write:
> Hi Guys,
>
> Time for an executive decision. I agree with Ian that we really
> ought to fix the underlying problem, but given that:
>
> a) we all very busy
>
> b) half the ports already the bfd_zalloc method to get around this
> problem
>
> c) even those ports that do it right call bfd_zalloc, just in case
> a bug creeps in
>
> I have decided to apply H.J.'s patch along with Alan's suggestion of
> adding a comment to remind us that one day we really ought to clean
> this code up. (Or more probably,one day we will move over to a
> libelf based linker and can abandon this code).
Personally I'd reject HJ's patch and tell him to fix the real bug instead
of papering over the real bug. If he cares enough he'll provide the analysis,
if he doesn't then you've done your job.
But it's your decision, so if you want to install it, go ahead.
jeff
More information about the Binutils
mailing list