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.