Is that a dup of 2764?
/ Martin Nilsson (saturator)
Previous text:
2003-10-26 21:08: Subject: There are no safeguards if Regexp.Regexp runs out of stack [3534]
Product: Pike Version: 7.4 Component: Modules Reporter: mast@roxen.com URL: https://community.roxen.com/crunch/show_bug.cgi?id=3534
The following causes Regexp.Regexp to consume an arbitrary amount of stack. The problem is that it's unchecked so that pike segfaults.
Regexp rx = Regexp( "("([^"\\]|\\.)*")" ); rx->split("""+"x"*0xe800+""");
Segmentation fault (core dumped)
/ Brevbäraren