| Anonymous | Login | Signup for a new account | 11-02-2025 06:19 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0003388 | [Quercus] | major | always | 03-13-09 12:08 | 03-18-09 15:35 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
| Product Build | |||||||||
| Summary | 0003388: Infinite loop + memory usage in unpack() | ||||||||
| Description |
The following program doesn't terminate, and consumes all available memory: <?php unpack("C*xyz", "x"); |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0003877) koreth 03-13-09 12:28 |
Patch attached. The code wasn't checking for EOF on its string buffer input stream. |
|
(0003895) nam 03-18-09 15:35 |
php/1d3n |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |