Bug#747363: IO::Uncompress::Gunzip: Can no longer gunzip to in-memory file handle

Niko Tyni ntyni at debian.org
Mon Sep 22 18:52:46 UTC 2014


clone 747363 -1
reassign -1 libio-compress-perl 2.064-1
block 747363 by -1
thanks

On Fri, May 09, 2014 at 02:08:28PM +0300, Niko Tyni wrote:
> On Wed, May 07, 2014 at 10:28:55PM +0200, Christoph Biedl wrote:
> > Package: perl-modules
> > Version: 5.18.2-2
> > Severity: critical
> > Justification: Breaks unreleated software
> 
> > IO-Compress 2.060 as bundled with Perl 5.18.2 introduces a regression
> > over 2.033 (as in Debian wheezy) and older versions like 2.020 in
> > squeeze: When uncompressing to a filehandle that is connected to an
> > in-memory string with
> > 
> >     open $fh, '>', \$buf
> > 
> > the syswrite() in IO::Uncompress::Base::_rd2 (line 759) fails
> > with $! set to "Bad file descriptor". In previous versions, print
> > was used instead which did not have this problem.
> 
> Thanks for the report. I've forwarded this upstream as
>  https://rt.cpan.org/Public/Bug/Display.html?id=95494

This is now fixed upstream in IO-Compress-2.066. I'm cloning a bug against
the separate libio-compress-perl package which is currently at 2.064;
the fix needs to enter Debian there first (probably by upgrading it to
2.066). After that we can backport it to the perl package.

(Doing it the other way around would create a situation where installing
 the buggy separate package would override the fixed version in the
 perl package.)
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list