OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6227b
)
2007-07-26 Michael Snyder <msnyder@access-company.com>
author
msnyder
<msnyder>
Thu, 26 Jul 2007 18:18:07 +0000
(18:18 +0000)
committer
msnyder
<msnyder>
Thu, 26 Jul 2007 18:18:07 +0000
(18:18 +0000)
* tekhex.c (first_phase): Check return value for null.
bfd/ChangeLog
patch
|
blob
|
history
bfd/tekhex.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
3b90fcd
..
d435e77
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,5
+1,7
@@
2007-07-26 Michael Snyder <msnyder@access-company.com>
+ * tekhex.c (first_phase): Check return value for null.
+
* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless
pointer increment.
diff --git
a/bfd/tekhex.c
b/bfd/tekhex.c
index
57a26d7
..
2df774f
100644
(file)
--- a/
bfd/tekhex.c
+++ b/
bfd/tekhex.c
@@
-389,6
+389,8
@@
first_phase (bfd *abfd, int type, char *src)
return FALSE;
memcpy (n, sym, len + 1);
section = bfd_make_section (abfd, n);
+ if (section == NULL)
+ return FALSE;
}
while (*src)
{