Bug#855064: perl: encode+substr leaks memory
Niko Tyni
ntyni at debian.org
Mon Feb 13 19:54:04 UTC 2017
Package: perl
Version: 5.24.1-1
Severity: important
Tags: upstream
Forwarded: https://rt.perl.org/Ticket/Display.html?id=130766
As reported in [perl #130766], a regression in Perl 5.24
made some combinations of Encode::encode and substr leak
memory.
For instance, running
perl -e 'use Encode; while (1) { encode("ascii", substr("test",1)); }'
makes the perl process grow without bounds.
We should probably fix this for stretch.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list