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

            Bug ID: 1075478
           Summary: Crash in Digest::SHA if a method is invoked on an
                    uninitialized object
           Product: Fedora
           Version: 20
         Component: perl-Digest-SHA
          Assignee: ppi...@redhat.com
          Reporter: ppi...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: perl-devel@lists.fedoraproject.org, ppi...@redhat.com



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.

-- 
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=AarfjeoPEx&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to