If Digest::SHA's method is called on an unintialized object (missing Digest::SHA->new()), the Digest::SHA crashes: $ perl -MData::Dumper -e 'use Digest::SHA; $d=Digest::SHA->add(); print Data::Dumper::Dumper(\$d);' Segmentation fault $ perl -e 'use Digest::SHA; print Digest::SHA->add(qq(a))->hexdigest' Segmentation fault This has been fixed in Digest-SHA-5.87. F19 and F20 are affected.
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/ }'
Created attachment 873411 [details] Fix
perl-Digest-SHA-5.85-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-Digest-SHA-5.85-5.fc20
perl-Digest-SHA-5.85-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/perl-Digest-SHA-5.85-2.fc19
perl-Digest-SHA-5.85-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
perl-Digest-SHA-5.85-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.