aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-02-06 15:48:29 +0000
committerNick Clifton <nickc@redhat.com>2018-02-06 15:48:29 +0000
commit64e234d417d5685a4aec0edc618114d9991c031b (patch)
tree1c42b76b7951a383f30e38e8de734e0ea29982fc /bfd/coffcode.h
parent422f3d3d6d5713bf9235b7b7696818a70b3b578d (diff)
downloadgdb-64e234d417d5685a4aec0edc618114d9991c031b.zip
gdb-64e234d417d5685a4aec0edc618114d9991c031b.tar.gz
gdb-64e234d417d5685a4aec0edc618114d9991c031b.tar.bz2
Prevent attempts to call strncpy with a zero-length field by chacking the size of debuglink sections.
PR 22794 * opncls.c (bfd_get_debug_link_info_1): Check the size of the section before attempting to read it in. (bfd_get_alt_debug_link_info): Likewise.
Diffstat (limited to 'bfd/coffcode.h')
0 files changed, 0 insertions, 0 deletions