Skip Menu |

This queue is for tickets about the Crypt-OpenSSL-Bignum CPAN distribution.

Report information
The Basics
Id: 100993
Status: resolved
Priority: 0/
Queue: Crypt-OpenSSL-Bignum

People
Owner: Nobody in particular
Requestors: rwfranks [...] acm.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



Subject: Memory not reclaimed when CTX object goes out of scope
#!/usr/bin/perl # 5.18.4 # # Allocated storage not reclaimed when # Crypt::OpenSSL::Bignum::CTX object no # longer in scope. use Crypt::OpenSSL::Bignum 0.04; sub leak { my $ctx = Crypt::OpenSSL::Bignum::CTX->new(); } my $count = 5E7; # more than enough to leak 2Gb while ($count--) { leak; } # # # # ############### :-( #############################
fixed in 0.05