| Anonymous | Login | Signup for a new account | 11-03-2025 12:53 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0003198 | [Quercus] | minor | always | 12-28-08 10:05 | 12-28-08 15:13 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 4.0.0 | ||||||
| Summary | 0003198: Multiple ^ subexpressions cause NPE in preg_match | ||||||||
| Description |
<?php preg_match("/^x|^y/", 'foobar'); Causes NPE: [10:04:25.041] {http--8080-68} java.lang.NullPointerException [10:04:25.041] {http--8080-68} at com.caucho.quercus.lib.regexp.RegexpNode$Or.isAnchorBegin(RegexpNode.java:1812) [10:04:25.041] {http--8080-68} at com.caucho.quercus.lib.regexp.RegexpNode$Or.isAnchorBegin(RegexpNode.java:1812) [10:04:25.041] {http--8080-68} at com.caucho.quercus.lib.regexp.Regexp.compile(Regexp.java:201) [10:04:25.041] {http--8080-68} at com.caucho.quercus.lib.regexp.Regexp.<init>(Regexp.java:150) [10:04:25.041] {http--8080-68} at com.caucho.quercus.lib.regexp.CauchoRegexpModule.getRegexp(CauchoRegexpModule.java:1401) [10:04:25.041] {http--8080-68} at com.caucho.quercus.lib.regexp.CauchoRegexpModule.preg_match(CauchoRegexpModule.java:230) [10:04:25.041] {http--8080-68} at com.caucho.quercus.lib.regexp.RegexpModule.preg_match(RegexpModule.java:119) |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |