[Bug regex/25322] regex mishandles back-references inside interval expressions
lexenluis at gmail dot com
sourceware-bugzilla@sourceware.org
Wed Jul 7 13:08:56 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=25322
lexene <lexenluis at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lexenluis at gmail dot com
--- Comment #4 from lexene <lexenluis at gmail dot com> ---
The glibc regular expression code mishandles regular expressions such as:
.*((.)\2){2}$
as it does not backtrack enough to find a match that satisfies the
back-references when they are used twice.
To reproduce the problem, compile and run the attached file backrefbug.c. It
will exit with status 2, whereas the correct exit status is 0.
https://alphamedia.group/
https://chicagolandreplicarassociation.com/
https://gani.vn/
https://gurusattaking.com/
https://kanagawasuido.com/
https://kanagawasuido.jp/
https://kokoo.co.il/
https://mainoriti.com/
https://theweblv.com/
https://tuaserie.net/
https://ukauto.fr/
https://www.alovesinh.com/
https://www.caparison.jp/
https://www.lanovela.fr/
https://www.massage-vip-paris.fr/
https://www.maxihoster.com/
https://www.moxspellen.nl/
https://www.salonprivemag.com/
https://www.teastore.com/
https://www.vuabai9.com/
https://xemchuky.com/
https://zawajmsyar.com/
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list