Package: perl
Version: 5.8.4-8
Followup-For: Bug #243387

Line 1695 of CGI.pm (version 3.04):

        if (length($ENV{QUERY_STRING})>0) {

This function call causes the "Use of uninitialized value in length at
(eval 9) line 12." or similar warning.

Workaround: 
        defined $ENV{QUERY_STRING} or $ENV{QUERY_STRING} = '';
in main program before calling start_form() prevents complainments.

However a fix of CGI.pm would be a far better solution:
        if (defined $ENV{QUERY_STRING} and length($ENV{QUERY_STRING})>0) {

Gabor


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages perl depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libgdbm3                    1.8.3-2      GNU dbm database routines (runtime
ii  perl-base                   5.8.4-8      The Pathologically Eclectic Rubbis
ii  perl-modules                5.8.4-8      Core Perl modules

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to