Bug#702416: perl: memory leak in Encode::decode

gregor herrmann gregoa at debian.org
Wed Mar 6 21:09:09 UTC 2013


On Wed, 06 Mar 2013 18:53:18 +0200, Niko Tyni wrote:

> > As discussed in <https://github.com/dankogai/p5-encode/issues/8>
> > this leaks memory:
> > 
> >  perl -MEncode=decode -E 'eval { decode("UTF-8", "\x89", 1) } while 1'
> > 
> > Fixed in Encode-2.49 and a candidate for perl-5.14.4.
> > 
> >  http://search.cpan.org/diff?from=Encode-2.48&to=Encode-2.49 
> >  http://www.nntp.perl.org/group/perl.perl5.porters/2013/03/msg199816.html
> 
> Cloning to the separate libencode-perl package.
> 
> @pkg-perl: please notify the perl bug (#702416) if/when libencode-perl
> is fixed so we can get the Breaks: version right.

2.49-1 uploaded to unstable, and a wheezy branch with 2.44-1+deb7u1
with the isolated patch created in git.

I'm attaching the diff of the potential upload to t-p-u.

Niko, I assume you contact the release team for an upload of Perl;
can you ask about this upload to t-p-u too or should we handle this
separately?

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Neil Young: Heart of Gold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: encode_tpu_memory_leak.patch
Type: text/x-diff
Size: 2648 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20130306/22463d45/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20130306/22463d45/attachment.pgp>


More information about the Perl-maintainers mailing list