A patch for elf.c
H.J. Lu
hjl@lucon.org
Wed Dec 9 07:42:00 GMT 1998
>
> We've disagreed before on whether memory should be cleared when it is
> allocated, and I think we will continue to disagree. This was a bug
We can agree on that :-).
> introduced with a change to the function a few months ago. The fix is
> to avoid introducing bugs; clearing memory is just treating the
> symptom.
>
To me, clearing memory is the super set of setting one field to
zero. I am a better safe than sorry person. I have no time
to second guess if there is another field I should clear.
--
H.J. Lu (hjl@gnu.org)
More information about the Bfd
mailing list