This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Coverity reports that Storable can potentially cause a NULL pointer
authorNicholas Clark <nick@ccl4.org>
Sat, 15 Apr 2006 21:43:13 +0000 (21:43 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 15 Apr 2006 21:43:13 +0000 (21:43 +0000)
commit0d3260984663aa39a4c25834f566132d81a03c27
treee77014bd5e7094ea247881ae36f25596aaa2df7c
parent5860085a49b592c6a586022a93b99a5b2e2d24a5
Coverity reports that Storable can potentially cause a NULL pointer
dereference while iterating a hash. This should never happen unless
the hash lies about how many keys it has, so croak if a fib is spotted.

p4raw-id: //depot/perl@27825
ext/Storable/Storable.xs