|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3198 | minor | always | 12-28-08 10:05 | 12-28-08 15:13 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in 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) |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||