projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tfile_target::close: trace_fd can't be -1
[deliverable/binutils-gdb.git]
/
bfd
/
elf-properties.c
diff --git
a/bfd/elf-properties.c
b/bfd/elf-properties.c
index a42abc44dd5f4b0e1cb8cf1205b6a3e1466439ae..76ddad603711112dcac702aaa3fe16eb9dd3d89d 100644
(file)
--- a/
bfd/elf-properties.c
+++ b/
bfd/elf-properties.c
@@
-703,6
+703,8
@@
_bfd_elf_convert_gnu_properties (bfd *ibfd, asection *isec,
if (size > bfd_section_size (isec))
{
contents = (bfd_byte *) bfd_malloc (size);
+ if (contents == NULL)
+ return FALSE;
free (*ptr);
*ptr = contents;
}
This page took
0.023555 seconds
and
4
git commands to generate.