diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-07-26 18:18:07 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-07-26 18:18:07 +0000 |
commit | 814b5378b4c88c3d9af3f0a38c4d15a03cae4bbf (patch) | |
tree | 35d35d137cc2afacd5fd20a76a1735db789f4134 /bfd/tekhex.c | |
parent | b7fd5ce17da6b61e8e13a27d86db9f5d07edb82b (diff) | |
download | gdb-814b5378b4c88c3d9af3f0a38c4d15a03cae4bbf.zip gdb-814b5378b4c88c3d9af3f0a38c4d15a03cae4bbf.tar.gz gdb-814b5378b4c88c3d9af3f0a38c4d15a03cae4bbf.tar.bz2 |
2007-07-26 Michael Snyder <msnyder@access-company.com>
* tekhex.c (first_phase): Check return value for null.
Diffstat (limited to 'bfd/tekhex.c')
-rw-r--r-- | bfd/tekhex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/tekhex.c b/bfd/tekhex.c index 57a26d7..2df774f 100644 --- 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) { |