summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-12-20 02:23:44 +0000
committerpeter <peter@FreeBSD.org>2001-12-20 02:23:44 +0000
commitcf0e9b3240c5ace7f7c47cd86c016a719a6b2389 (patch)
treeab29f2f5db1baba6a32a8007e14f4730180ccb39 /contrib
parentc333b48eb4e19f4201c0d9b3b4c4759003fcfcae (diff)
parent94820fd8060f6f43089d1a3ddb8a482402e7e494 (diff)
downloadFreeBSD-src-cf0e9b3240c5ace7f7c47cd86c016a719a6b2389.zip
FreeBSD-src-cf0e9b3240c5ace7f7c47cd86c016a719a6b2389.tar.gz
This commit was generated by cvs2svn to compensate for changes in r88237,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/binutils/bfd/syms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/syms.c b/contrib/binutils/bfd/syms.c
index 311806e..34169ec 100644
--- a/contrib/binutils/bfd/syms.c
+++ b/contrib/binutils/bfd/syms.c
@@ -715,6 +715,8 @@ _bfd_generic_read_minisymbols (abfd, dynamic, minisymsp, sizep)
storage = bfd_get_symtab_upper_bound (abfd);
if (storage < 0)
goto error_return;
+ if (storage == 0)
+ return 0;
syms = (asymbol **) bfd_malloc ((size_t) storage);
if (syms == NULL)
OpenPOWER on IntegriCloud