[Bug binutils/22794] Unchecked strnlen operation in bfd_get_debug_link_info_1 (./src/bfd/opncls.c)
https://sourceware.org/bugzilla/show_bug.cgi?id=22794 Jeremi changed: What|Removed |Added CC||jeremip11 at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/22794] Unchecked strnlen operation in bfd_get_debug_link_info_1 (./src/bfd/opncls.c)
https://sourceware.org/bugzilla/show_bug.cgi?id=22794 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC||nickc at redhat dot com Resolution|--- |FIXED --- Comment #2 from Nick Clifton --- Thanks for reporting this bug. I have applied a small patch to check the size of the debuglink sections before attempting to load their contents. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/22794] Unchecked strnlen operation in bfd_get_debug_link_info_1 (./src/bfd/opncls.c)
https://sourceware.org/bugzilla/show_bug.cgi?id=22794 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=64e234d417d5685a4aec0edc618114d9991c031b commit 64e234d417d5685a4aec0edc618114d9991c031b Author: Nick Clifton Date: Tue Feb 6 15:48:29 2018 + 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. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils