On Perl 5.8 (I haven't tried it in 5.10), the following script segfaults:
What Perl bug is this tripping over? How could Template Toolkit be fixed to not trigger the segfault?#! /usr/bin/perl use strict; use warnings; use Template; my $template = Template->new({}); my $text = "[% SET content='" . ("stuff "x20_000) . "' %]"; $template->process(\$text, {}); print "Processed\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Challenge, try to fix the bug
by fullermd (Vicar) on Oct 16, 2009 at 07:16 UTC | |
by tilly (Archbishop) on Oct 16, 2009 at 16:09 UTC | |
|
Re: Challenge, try to fix the bug
by JavaFan (Canon) on Oct 16, 2009 at 08:51 UTC | |
|
Re: Challenge, try to fix the bug
by Tanktalus (Canon) on Oct 20, 2009 at 22:21 UTC | |
by tilly (Archbishop) on Oct 21, 2009 at 15:47 UTC |