Bug#354679: libpdf-report-perl: Uninitialized value warnings
Alistair Cunningham
acunningham at integrics.com
Tue Feb 28 04:26:06 UTC 2006
Package: libpdf-report-perl
Version: 1.30-3
Severity: normal
PDF::Report produces the following warnings when called from a Perl
program using -w and use strict:
[Tue Feb 28 04:17:05 2006] test: Use of uninitialized value in
length at /usr/share/perl5/PDF/Report.pm line 259.
[Tue Feb 28 04:17:05 2006] test: Use of uninitialized value in
length at /usr/share/perl5/PDF/Report.pm line 260.
[Tue Feb 28 04:17:05 2006] test: Use of uninitialized value in
length at /usr/share/perl5/PDF/Report.pm line 261.
This is at lines:
$color = undef if !length($color);
$underline = undef if !length($underline);
$indent = undef if !length($indent);
as the parameters passed to addRawText() are missing elsewhere in the
file. The variables should be checked for definedness in addRawText().
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libpdf-report-perl depends on:
ii libpdf-api2-perl 0.51-1 provides the functions for creatin
ii libtext-roman-perl 3.3-3 A module for managing integer and
ii perl 5.8.7-10 Larry Wall's Practical Extraction
libpdf-report-perl recommends no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list