Skip Menu |

This queue is for tickets about the Filter CPAN distribution.

Report information
The Basics
Id: 101668
Status: resolved
Priority: 0/
Queue: Filter

People
Owner: Nobody in particular
Requestors: user42_kevin [...] yahoo.com.au
Cc:
AdminCc:

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



Subject: Filter::exec perl 5.20.1 bad free() on __DATA__
Date: Thu, 22 Jan 2015 09:28:04 +1100
To: bug-Filter [...] rt.cpan.org
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
With my build of Filter 1.54 and recent debian i386 perl 5.20.1, echo __DATA__ | perl -MFilter::exec=cat - gets *** Error in `perl': free(): invalid pointer: 0x095571f9 *** Aborted where I hoped it would do nothing, which is what you get from echo __DATA__ | perl - I don't know if Filter::exec or perl is to blame, or if filters don't work at all with __DATA__. If it can't work then it'd be good to give some error rather than a bad free(). In 5.20.0 I think the same thing segfaulted instead of free(), but I don't have that to try any more.
On Wed Jan 21 17:29:36 2015, user42_kevin@yahoo.com.au wrote: Show quoted text
> With my build of Filter 1.54 and recent debian i386 perl 5.20.1, > > echo __DATA__ | perl -MFilter::exec=cat - > > gets > > *** Error in `perl': free(): invalid pointer: 0x095571f9 *** > Aborted
Excellent testcase, thanks. Easily repro. -- Reini Urban
Fixed with 1.55 -- Reini Urban