Skip Menu |

This queue is for tickets about the PHP-Serialization CPAN distribution.

Report information
The Basics
Id: 29400
Status: resolved
Priority: 0/
Queue: PHP-Serialization

People
Owner: bobtfish [...] bobtfish.net
Requestors: eharrison [...] realestate.com.au
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.27
Fixed in: 0.29



Subject: Fix for negative numbers issue
sub _readnum { # Reads in a character at a time until we run out of numbers to read... my $self = shift; my $cursor = $$self{'cursor'}; my $string; while ( 1 ) { my $char = $self->_readchar(); --- if ( $char !~ /^[\d\.]+$/ ) { +++ if ( $char !~ /^[-\d\.]+$/ ) { $$cursor--; last; } $string .= $char; } # End of while.
Fixed (finally). Thanks for the patch.