Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] 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  
Status closed   Product Version 4.0.0
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");
Additional Information
Attached Files  patch.txt [^] (2,433 bytes) 03-13-09 12:28

- Relationships

- 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
 

- Issue History
Date Modified Username Field Change
03-13-09 12:08 koreth New Issue
03-13-09 12:28 koreth File Added: patch.txt
03-13-09 12:28 koreth Note Added: 0003877
03-16-09 09:49 nam Status new => assigned
03-16-09 09:49 nam Assigned To  => nam
03-18-09 15:35 nam Status assigned => closed
03-18-09 15:35 nam Note Added: 0003895
03-18-09 15:35 nam Resolution open => fixed
03-18-09 15:35 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker