Bug#512036: calling Data::Dumper->Dump(['a'], 'b') crashes perl interpreter

Thomas Jahns jahns at chemie.uni-hamburg.de
Fri Jan 16 16:21:25 UTC 2009


Package: perl
Version: 5.10.0-19
Severity: normal

The following script crashes perl reliably

--8<-----------------------------------------
#! /usr/bin/perl
use Data::Dumper ();
print Data::Dumper->Dump(['a'], 'b');
--8<-----------------------------------------

Note the incorrect second parameter (should be an array ref). Still
this shouldn't bring down the perl interpreter.

Greetings, Thomas Jahns


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libdb4.6                      4.6.21-11  Berkeley v4.6 Database Libraries [
ii  libgdbm3                      1.8.3-3    GNU dbm database routines (runtime
ii  perl-base                     5.10.0-19  minimal Perl system
ii  perl-modules                  5.10.0-19  Core Perl modules

Versions of packages perl recommends:
ii  netbase                       4.34       Basic TCP/IP networking system

Versions of packages perl suggests:
pn  libterm-readline-gnu-perl | l <none>     (no description available)
ii  perl-doc                      5.10.0-19  Perl documentation

-- no debconf information






More information about the Perl-maintainers mailing list