[Bug 1075478] Crash in Digest::SHA if a method is invoked on an uninitialized object

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 12 09:40:02 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1075478



--- Comment #1 from Petr Pisar <ppisar at redhat.com> ---
Test:

perl -e 'use Digest::SHA; $d=Digest::SHA->add(qq(a)); for (qw(shaclose shadump
shadup shaload shaopen sharewind shawrite hashsize add digest)) { eval
{$d->$_}; die "$_: $@" unless $@ =~ /on an undefined value/ }'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=FEHDy7nTPX&a=cc_unsubscribe



More information about the perl-devel mailing list