DCIT / perl-CryptX

https://metacpan.org/pod/CryptX
Other
35 stars 23 forks source link

ECC: segfault on invalid input #64

Closed FGasper closed 4 years ago

FGasper commented 4 years ago
> perl -MCrypt::PK::ECC -e'my $pk = Crypt::PK::ECC->new(); $pk->generate_key(["foo.com"])'
Segmentation fault

Perl config:

Summary of my perl5 (revision 5 version 30 subversion 0) configuration:

  Platform:
    osname=linux
    osvers=3.10.0-123.20.1.el7.x86_64
    archname=x86_64-linux-64int
    uname='linux rpmbuild-64-centos-7.dev.cpanel.net 3.10.0-123.20.1.el7.x86_64 #1 smp thu jan 29 18:05:33 utc 2015 x86_64 x86_64 x86_64 gnulinux '
FGasper commented 4 years ago

@karel-m Thank you!