about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-07-20 11:58:51 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-07-20 11:58:51 +0200
commit786658a08829e8a303d846406812f9245846e99c (patch)
treef29b3d0d1271d0a1c9555fce35a906388ac783e5 /ChangeLog
parent2d5c41ded92bf1247ba2a29ad2074cf79dc15669 (diff)
downloadglibc-786658a08829e8a303d846406812f9245846e99c.tar.gz
glibc-786658a08829e8a303d846406812f9245846e99c.tar.xz
glibc-786658a08829e8a303d846406812f9245846e99c.zip
regcomp: Fix off-by-one bug in build_equiv_class [BZ #23396]
This bug is very similar to bug 23036: The existing code assumed that
the length count included the length byte itself.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b45c83ba2b..49d1377c68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-07-20  Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #23396]
+	* posix/regcomp.c (build_equiv_class): When comparing weights, do
+	not compare an extra byte after the end of the weights.
+
 2018-07-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads