develooper Front page | perl.perl5.porters | Postings from September 2013

[perl #119863] bug in Math::BigInt with undef

Thread Previous
Father Chrysostomos via RT
September 17, 2013 15:38
[perl #119863] bug in Math::BigInt with undef
Message ID:
On Tue Sep 17 07:23:11 2013, wrote:
> Math::BigInt got broken when one component is undef. Unfortunately
> the I can only reproduce teh bug in a big custome webapp, but it
> comes down to's objectify() being called with an undef
> param, which it won't objectify, due to the check on line 2673ff
>         # Don't do anything with undefs.
>         unless (defined($a[$i])) {
>             next;
>         }

That appears to be by design.  I suspect your code is buggy in giving it
undef to begin with.

Could you try to reduce your big webapp to something smaller that can
reproduce the bug?


Father Chrysostomos

via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About