Fix a snafu setting up the string table read in from a COFF file.
authorAlexander Cherepanov <cherepan@mccme.ru>
Fri, 21 Nov 2014 11:19:49 +0000 (11:19 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 21 Nov 2014 11:19:49 +0000 (11:19 +0000)
commitcd11f78f810cf12b04046ac954ceb6528b00956c
treeb60fbc2d08d7eaca583b67b66ca7f8e421ac485d
parent3cfdb7812cda6ca610be8bf65ffaf5138dc0d379
Fix a snafu setting up the string table read in from a COFF file.

PR binutils/17512
* coffgen.c (_bfd_coff_read_string_table): Test allocation of
string table before clearing the first few bytes.
bfd/ChangeLog
bfd/coffgen.c