aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
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/ChangeLog
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/ChangeLog')
-rw-r--r--bfd/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 72e9373..584f087 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2018-02-06 Nick Clifton <nickc@redhat.com>
+
+ 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.
+
2018-02-06 Paul Carroll <pcarroll@codesourcery.com>
* bfd/dwarf2.c (find_abstract_name): Modified to return file and