diff options
author | Nick Clifton <nickc@redhat.com> | 2017-07-19 14:49:12 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-07-19 14:49:12 +0100 |
commit | 909e4e716c4d77e33357bbe9bc902bfaf2e1af24 (patch) | |
tree | c406acbf9c4e7a7d0978266414275e57dcc16a40 /gdb/python/py-record.c | |
parent | 62a5222fdab2acdc129b7c7d3713e7f349e26029 (diff) | |
download | gdb-909e4e716c4d77e33357bbe9bc902bfaf2e1af24.zip gdb-909e4e716c4d77e33357bbe9bc902bfaf2e1af24.tar.gz gdb-909e4e716c4d77e33357bbe9bc902bfaf2e1af24.tar.bz2 |
Fix use-after-free error when parsing a corrupt nested archive.
PR 21787
* archive.c (bfd_generic_archive_p): If the bfd does not have the
correct magic bytes at the start, set the error to wrong format
and clear the format selector before returning NULL.
Diffstat (limited to 'gdb/python/py-record.c')
0 files changed, 0 insertions, 0 deletions