regcomp: Fix off-by-one bug in build_equiv_class [BZ #23396]
commit786658a08829e8a303d846406812f9245846e99c
authorFlorian Weimer <fweimer@redhat.com>
Fri, 20 Jul 2018 09:58:51 +0000 (20 11:58 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 20 Jul 2018 09:58:51 +0000 (20 11:58 +0200)
treef29b3d0d1271d0a1c9555fce35a906388ac783e5
parent2d5c41ded92bf1247ba2a29ad2074cf79dc15669
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>
ChangeLog
posix/regcomp.c