Your message dated Wed, 21 Dec 2005 23:28:16 +1100
with message-id <[EMAIL PROTECTED]>
and subject line perl-modules: Warnings, insufficient checking in CGI.pm
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Feb 2002 03:48:45 +0000
>From [EMAIL PROTECTED] Thu Jan 31 21:48:45 2002
Return-path: <[EMAIL PROTECTED]>
Received: from tantale.fifi.org [216.27.190.146] (root)
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 16WUgu-00022o-00; Thu, 31 Jan 2002 21:48:45 -0600
Received: from ceramic.fifi.org ([EMAIL PROTECTED] [216.27.190.147])
by tantale.fifi.org (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id TAA31346
for <[EMAIL PROTECTED]>; Thu, 31 Jan 2002 19:48:43 -0800
Received: from ceramic.fifi.org ([EMAIL PROTECTED] [127.0.0.1])
by ceramic.fifi.org (8.12.1/8.12.1/Debian -5) with ESMTP id
g113mhSE017872
for <[EMAIL PROTECTED]>; Thu, 31 Jan 2002 19:48:43 -0800
Received: (from [EMAIL PROTECTED])
by ceramic.fifi.org (8.12.1/8.12.1/Debian -5) id g113mgts017869;
Thu, 31 Jan 2002 19:48:42 -0800
Sender: [EMAIL PROTECTED]
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: perl-modules: Warnings, insufficient checking in CGI.pm
X-Debbugs-CC: Philippe Troin <[EMAIL PROTECTED]>
From: Philippe Troin <[EMAIL PROTECTED]>
Date: 31 Jan 2002 19:48:42 -0800
Message-ID: <[EMAIL PROTECTED]>
Lines: 54
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
Package: perl-modules
Version: 5.6.1-7
Severity: normal
This scriptlet gives some warnings:
% perl -w -mstrict -mCGI -e 'my $x = new CGI; print join("\n", $x->param()),
"\n"; ' 'x=y;;foo=bar'
Use of uninitialized value in hash element at /usr/share/perl/5.6.1/CGI.pm line
549.
Use of uninitialized value in hash element at /usr/share/perl/5.6.1/CGI.pm line
549.
x
foo
%
I'd suggest changing CGI.pm's
sub parse_params {
my($self,$tosplit) = @_;
my(@pairs) = split(/[&;]/,$tosplit);
my($param,$value);
foreach (@pairs) {
($param,$value) = split('=',$_,2);
$value = '' unless defined $value;
$param = unescape($param);
$value = unescape($value);
$self->add_parameter($param);
push (@{$self->{$param}},$value);
}
}
to
sub parse_params {
my($self,$tosplit) = @_;
my(@pairs) = split(/[&;]/,$tosplit);
my($param,$value);
foreach (@pairs) {
($param,$value) = split('=',$_,2);
next unless defined $param; # THAT'S NEW
$value = '' unless defined $value;
$param = unescape($param);
$value = unescape($value);
$self->add_parameter($param);
push (@{$self->{$param}},$value);
}
}
Phil.
-- System Information
Debian Release: 3.0
Kernel Version: Linux ceramic 2.2.20 #1 SMP Fri Nov 9 22:12:41 PST 2001 i686
unknown
Versions of the packages perl-modules depends on:
ii perl 5.6.1-7 Larry Wall's Practical Extraction and Report
---------------------------------------
Received: (at 131804-close) by bugs.debian.org; 21 Dec 2005 12:28:21 +0000
>From [EMAIL PROTECTED] Wed Dec 21 04:28:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from londo.c47.org ([198.142.1.20] ident=mail)
by spohr.debian.org with esmtp (Exim 4.50)
id 1Ep34v-0001Sm-Dv
for [EMAIL PROTECTED]; Wed, 21 Dec 2005 04:28:21 -0800
Received: from bod by londo.c47.org with local (Exim 3.36 #1 (Debian))
id 1Ep34q-0002zr-00; Wed, 21 Dec 2005 23:28:16 +1100
Date: Wed, 21 Dec 2005 23:28:16 +1100
From: Brendan O'Dea <[EMAIL PROTECTED]>
To: Philippe Troin <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: perl-modules: Warnings, insufficient checking in CGI.pm
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Version: 5.8.7-1
On Thu, Jan 31, 2002 at 07:48:42PM -0800, Philippe Troin wrote:
>This scriptlet gives some warnings:
>
>% perl -w -mstrict -mCGI -e 'my $x = new CGI; print join("\n", $x->param()),
>"\n"; ' 'x=y;;foo=bar'
>Use of uninitialized value in hash element at /usr/share/perl/5.6.1/CGI.pm
>line 549.
>Use of uninitialized value in hash element at /usr/share/perl/5.6.1/CGI.pm
>line 549.
>x
>foo
>%
Closing old bugs, this appears to have been fixed.
--bod
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]