2007-07-26 Michael Snyder <msnyder@access-company.com>

* tekhex.c (first_phase): Check return value for null.
This commit is contained in:
Michael Snyder 2007-07-26 18:18:07 +00:00
parent b7fd5ce17d
commit 814b5378b4
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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)
{