This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/18037] infinite recursion (stack overflow) in regexec.c (sift_states_bkref->sift_states_backward->update_cur_sifted_state)
- From: "konstantin.s.serebryany at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 19 Mar 2015 16:17:21 +0000
- Subject: [Bug regex/18037] infinite recursion (stack overflow) in regexec.c (sift_states_bkref->sift_states_backward->update_cur_sifted_state)
- Auto-submitted: auto-generated
- References: <bug-18037-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18037
--- Comment #1 from Kostya Serebryany <konstantin.s.serebryany at gmail dot com> ---
Happens also without REG_EXTENDED:
#include <regex.h>
int main() {
regex_t r;
if (!regcomp(&r, "^9*\\(\\)\\1\\+\\+", 0))
regexec(&r, "foo.*bar", 0, 0, 0);
}
--
You are receiving this mail because:
You are on the CC list for the bug.