aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-12-05 14:57:17 +0000
committerNick Clifton <nickc@redhat.com>2022-12-05 14:57:17 +0000
commit3bf5bf547a2ffdbd702804b95b3218040ac470dc (patch)
tree9a9b30b5263f3573a41ca857c67d68dac7b102a5 /ld/ChangeLog
parent76a2bcc6b8b07ddfd5093773c4b5fd8e54752fbc (diff)
downloadbinutils-3bf5bf547a2ffdbd702804b95b3218040ac470dc.zip
binutils-3bf5bf547a2ffdbd702804b95b3218040ac470dc.tar.gz
binutils-3bf5bf547a2ffdbd702804b95b3218040ac470dc.tar.bz2
Prevent an illegal memory access when comparing the prefix of a section name regexp.
PR 29849 * ldlang.c (spec_match): Check that there is sufficient length in the target name to match the spec's prefix.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8f0528f..e8dc090 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2022-12-05 Nick Clifton <nickc@redhat.com>
+
+ PR 29849
+ * ldlang.c (spec_match): Check that there is sufficient length in
+ the target name to match the spec's prefix.
+
2022-11-03 Nick Clifton <nickc@redhat.com>
PR 29748