Jerry D. Hedden [Wed, 30 Jul 2008 12:54:34 +0000 (08:54 -0400)]
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <
1ff86f510807300954y5451ce9eq3181169e83bc3a10@mail.gmail.com>
p4raw-id: //depot/perl@34165
package Data::Dumper;
-$VERSION = '2.121_16';
+$VERSION = '2.121_17';
#$| = 1;
}
use strict;
-use Test::More tests => 3;
+use Test::More tests => 4;
use Data::Dumper;
{
eval $txt;
is_deeply($VAR1, \%h, '[perl #40668] Reset hash iterator');
}
+
+# [perl #56766] Segfaults on bad syntax - fixed with version 2.121_17
+sub doh
+{
+ # 2nd arg is supposed to be an arrayref
+ my $doh = Data::Dumper->Dump([\@_],'@_');
+}
+doh('fixed');
+ok(1, "[perl #56766]"); # Still no core dump? We are fine.
+
+# EOF