Skip Menu |

This queue is for tickets about the File-Format-RIFF CPAN distribution.

Report information
The Basics
Id: 36577
Status: new
Priority: 0/
Queue: File-Format-RIFF

People
Owner: Nobody in particular
Requestors: kalium99 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0.1
Fixed in: (no value)



Subject: Infinite while loop in _read_data
I was getting a problem where analysing certain files would cause an 'Out of memory' issue on the server. Traced it down to the while loop in _read_data. The while loop is using the scalar as a boolean, and although the scalar ($to_read) is decreasing on each loop, it sometimes becomes a negative number without reaching zero beforehand, and of course the negative number is being treated as 'true' and the loop continues. Using Perl 5.8.8 on CentOS.