Anonymous | Login | Signup for a new account | 12-17-2024 08:41 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 | ||||
0003134 | [Quercus] | minor | always | 12-07-08 00:30 | 12-10-08 09:15 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.2.1 | ||||||
Summary | 0003134: json_decode throws exception on empty input | ||||||||
Description |
<?php json_decode('', true); Vanilla PHP executes this script; Quercus throws an exception: [00:28:52.271] {http--8080-7} java.lang.ArrayIndexOutOfBoundsException [00:28:52.271] {http--8080-7} at com.caucho.quercus.env.StringBuilderValue.<init>(StringBuilderValue.java:74) [00:28:52.271] {http--8080-7} at com.caucho.quercus.env.StringBuilderValue.subSequence(StringBuilderValue.java:660) [00:28:52.271] {http--8080-7} at com.caucho.quercus.env.StringValue.substring(StringValue.java:1671) [00:28:52.271] {http--8080-7} at com.caucho.quercus.lib.json.JsonDecoder.errorReturn(JsonDecoder.java:409) [00:28:52.271] {http--8080-7} at com.caucho.quercus.lib.json.JsonDecoder.errorReturn(JsonDecoder.java:392) [00:28:52.271] {http--8080-7} at com.caucho.quercus.lib.json.JsonDecoder.jsonDecodeImpl(JsonDecoder.java:115) [00:28:52.271] {http--8080-7} at com.caucho.quercus.lib.json.JsonDecoder.jsonDecode(JsonDecoder.java:54) [00:28:52.271] {http--8080-7} at com.caucho.quercus.lib.json.JsonModule.json_decode(JsonModule.java:303) [00:28:52.271] {http--8080-7} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |