aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-record.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-07-19 14:49:12 +0100
committerNick Clifton <nickc@redhat.com>2017-07-19 14:49:12 +0100
commit909e4e716c4d77e33357bbe9bc902bfaf2e1af24 (patch)
treec406acbf9c4e7a7d0978266414275e57dcc16a40 /gdb/python/py-record.c
parent62a5222fdab2acdc129b7c7d3713e7f349e26029 (diff)
downloadgdb-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