Bug#511589: foreach loop with lexically scoped variable result in segmentation fault

2009-01-13 Thread Niko Tyni
reassign 511589 perl 5.10.0-19 severity 511589 important tag 511589 fixed-upstream thanks On Mon, Jan 12, 2009 at 10:28:36PM +0200, Niko Tyni wrote: > On Mon, Jan 12, 2009 at 03:28:26PM +0100, Peter Makholm wrote: > > Package: libdevel-repl-perl > > Version: 1.002001-2 > > Severity: normal > > >

Bug#511589: foreach loop with lexically scoped variable result in segmentation fault

2009-01-12 Thread Niko Tyni
On Mon, Jan 12, 2009 at 03:28:26PM +0100, Peter Makholm wrote: > Package: libdevel-repl-perl > Version: 1.002001-2 > Severity: normal > > Using the same lexically scoped variable in a foreach loop twice, makes re.pl > crash with a segmentation fault: This looks like memory corruption in the Per

Bug#511589: foreach loop with lexically scoped variable result in segmentation fault

2009-01-12 Thread Peter Makholm
Package: libdevel-repl-perl Version: 1.002001-2 Severity: normal Using the same lexically scoped variable in a foreach loop twice, makes re.pl crash with a segmentation fault: makh...@makholm:~$ /usr/share/doc/libdevel-repl-perl/examples/re.pl $ for my $foo (0 .. 1) { print "/dir$foo\n" } /dir