Fix seg-fault attempting to compress a debug section in a corrupt binary.
authorNick Clifton <nickc@redhat.com>
Wed, 26 Apr 2017 12:07:49 +0000 (13:07 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Apr 2017 12:07:49 +0000 (13:07 +0100)
commite63d123268f23a4cbc45ee55fb6dbc7d84729da3
tree55cf4e0aa0a020e36ad1d2d85c11bb91cdfebe4e
parentc185f580b2b3baf7cee762c8ab31ab6925b9534a
Fix seg-fault attempting to compress a debug section in a corrupt binary.

PR binutils/21431
* compress.c (bfd_init_section_compress_status): Check the return
value from bfd_malloc.
bfd/ChangeLog
bfd/compress.c