Bug#687712: to_bin method returns garbage when value is zero
Wessel Dankers
wsl-debbug at fruit.je
Sat Sep 15 11:29:45 UTC 2012
Package: libcrypt-openssl-bignum-perl
Version: 0.04-2
Severity: normal
Tags: upstream
Hi,
A command like:
perl -MMIME::Base64 -MCrypt::OpenSSL::Bignum -we 'print encode_base64(Crypt::OpenSSL::Bignum->zero->to_bin)'
returns different garbage every time it's run. Expected result would be
the empty string. Example outputs:
8BPYAQ==
8DPj
8CPJ
8IOn
8KMSAg==
cheers,
-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libcrypt-openssl-bignum-perl depends on:
ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib
ii libssl0.9.8 0.9.8o-4squeeze13 SSL shared libraries
ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii perl-base [perlapi-5.1 5.10.1-17squeeze3 minimal Perl system
libcrypt-openssl-bignum-perl recommends no packages.
libcrypt-openssl-bignum-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list