diff options
author | Nick Clifton <nickc@redhat.com> | 2016-12-05 16:34:45 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-12-05 16:34:45 +0000 |
commit | fa6631b4eecfcca00c13b9594e6336dffd40982f (patch) | |
tree | e836054631f57ce1951a51e1fbe290c9b8d81b57 /mkdep | |
parent | 406bd128dba2a59d0736839fc87a59bce319076c (diff) | |
download | gdb-fa6631b4eecfcca00c13b9594e6336dffd40982f.zip gdb-fa6631b4eecfcca00c13b9594e6336dffd40982f.tar.gz gdb-fa6631b4eecfcca00c13b9594e6336dffd40982f.tar.bz2 |
Fix seg-fault in the binutils utilities when reading a corrupt input file.
PR binutils/20905
* peicode.h (pe_ILF_object_p): Use strnlen to avoid running over
the end of the string buffer.
Diffstat (limited to 'mkdep')
0 files changed, 0 insertions, 0 deletions