diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-17 18:54:48 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-17 18:54:48 +0000 |
commit | 8eb5d4be69fd1ac050fc1ef041e56803d921029d (patch) | |
tree | f3f0ec96380a849fe41b966afe7c9d3f2a9b475f /bfd/ChangeLog | |
parent | f09d749f4cea655a39a9f6f1b19398b54aeba10f (diff) | |
download | gdb-8eb5d4be69fd1ac050fc1ef041e56803d921029d.zip gdb-8eb5d4be69fd1ac050fc1ef041e56803d921029d.tar.gz gdb-8eb5d4be69fd1ac050fc1ef041e56803d921029d.tar.bz2 |
* aoutx.h, elfcode.h, coff-alpha.c, bout.c, ecoff.c, ecofflink.c,
elf32-hppa.c, elf32-mips.c, linker.c, som.c, sunos.c: If malloc(0)
returns NULL, it is not an error. It's possible that some of
these checks are not necessary (because the size can never be
zero), but putting in the checks is the conservative thing to do
in light of the fact that some of these malloc calls replaced
unchecked alloca calls, in which a zero argument would work fine.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f24cf54..009f815 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Thu Mar 17 10:37:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * aoutx.h, elfcode.h, coff-alpha.c, bout.c, ecoff.c, ecofflink.c, + elf32-hppa.c, elf32-mips.c, linker.c, som.c, sunos.c: If malloc(0) + returns NULL, it is not an error. It's possible that some of + these checks are not necessary (because the size can never be + zero), but putting in the checks is the conservative thing to do + in light of the fact that some of these malloc calls replaced + unchecked alloca calls, in which a zero argument would work fine. + Thu Mar 17 11:44:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * reloc.c (bfd_generic_get_relocated_section_contents): Don't fail |