From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: ian@cygnus.com (Ian Lance Taylor) Cc: bfd@cygnus.com Subject: Re: A patch for elf.c Date: Wed, 09 Dec 1998 07:42:00 -0000 Message-id: References: <199812081926.OAA17039@subrogation.cygnus.com> X-SW-Source: 1998/msg00076.html > > 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)