diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-07-20 11:58:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-07-20 11:58:51 +0200 |
commit | 786658a08829e8a303d846406812f9245846e99c (patch) | |
tree | f29b3d0d1271d0a1c9555fce35a906388ac783e5 /ChangeLog | |
parent | 2d5c41ded92bf1247ba2a29ad2074cf79dc15669 (diff) | |
download | glibc-786658a08829e8a303d846406812f9245846e99c.tar glibc-786658a08829e8a303d846406812f9245846e99c.tar.gz glibc-786658a08829e8a303d846406812f9245846e99c.tar.bz2 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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |