projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a393b
)
* opncls.c (_bfd_new_bfd_contained_in): Check return value of
author
Alan Modra
<amodra@gmail.com>
Sat, 4 May 2002 01:31:08 +0000
(
01:31
+0000)
committer
Alan Modra
<amodra@gmail.com>
Sat, 4 May 2002 01:31:08 +0000
(
01:31
+0000)
_bfd_new_bfd.
bfd/ChangeLog
patch
|
blob
|
history
bfd/opncls.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
92ff160
..
3537ea8
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2002-05-04 Bob Byrnes <byrnes@curl.com>
+
+ * opncls.c (_bfd_new_bfd_contained_in): Check return value of
+ _bfd_new_bfd.
+
2002-05-03 H.J. Lu (hjl@gnu.org)
* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local.
diff --git
a/bfd/opncls.c
b/bfd/opncls.c
index
65a2a42
..
f110259
100644
(file)
--- a/
bfd/opncls.c
+++ b/
bfd/opncls.c
@@
-93,6
+93,8
@@
_bfd_new_bfd_contained_in (obfd)
bfd *nbfd;
nbfd = _bfd_new_bfd ();
+ if (nbfd == NULL)
+ return NULL;
nbfd->xvec = obfd->xvec;
nbfd->my_archive = obfd;
nbfd->direction = read_direction;