aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffexec.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-17 18:54:48 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-17 18:54:48 +0000
commit8eb5d4be69fd1ac050fc1ef041e56803d921029d (patch)
treef3f0ec96380a849fe41b966afe7c9d3f2a9b475f /gdb/xcoffexec.c
parentf09d749f4cea655a39a9f6f1b19398b54aeba10f (diff)
downloadgdb-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 'gdb/xcoffexec.c')
0 files changed, 0 insertions, 0 deletions