PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3561

*** shadow/3561 Wed Sep 12 00:28:30 2001
--- shadow/3561.tmp.10316       Wed Sep 12 00:28:30 2001
***************
*** 0 ****
--- 1,17 ----
+ +============================================================================+
+ | Stack overflow with certain patterns.                                      |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3561                        Product: ORO                     |
+ |       Status: NEW                         Version: 2.0.4                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Major                    OS/Version: Linux                   |
+ |     Priority: Other                     Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                   |
+ |  Reported By: [EMAIL PROTECTED]                                      |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The following program demonstrates how ORO runs into an endless recursion and thus a 
+stack overflow:--- SNIP ---import org.apache.oro.text.*;import 
+org.apache.oro.text.regex.*;class OROTest {    public static void main(String [] 
+args) throws MalformedPatternException {        String pat = "'([^'\\\\]+|\\\\?)+'";  
+      PatternCompiler compiler = new Perl5Compiler();        Pattern pattern = 
+compiler.compile(pat);        PatternMatcherInput input = new 
+PatternMatcherInput("don't do that");        PatternMatcher matcher = new 
+Perl5Matcher();        matcher.contains(input, pattern);    }}--- SNIP ---Best 
+regards,     Robert Lichtenberger

Reply via email to