[Bug regex/18037] infinite recursion (stack overflow) in regexec.c (sift_states_bkref->sift_states_backward->update_cur_sifted_state)

konstantin.s.serebryany at gmail dot com sourceware-bugzilla@sourceware.org
Thu Mar 19 16:17:00 GMT 2015


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.



More information about the Glibc-bugs mailing list