Bug#309721: marked as done (libapache-configfile-perl: Fails parsing ServerAlias entry with trailing \ for continue to next line)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 19 May 2005 09:33:33 -0700


Your message dated Thu, 19 May 2005 12:17:21 -0400
with message-id <E1DYni5-0007nM-00@newraff.debian.org>
and subject line Bug#309721: fixed in libapache-configfile-perl 1.18-4
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; 19 May 2005 03:58:00 +0000
>From jason@debian.org Wed May 18 20:58:00 2005
Return-path: <jason@debian.org>
Received: from sol.linkinnovations.com (brazilnut.solsys.linkinnovations.com) [203.94.173.142] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DYcAZ-0005p0-00; Wed, 18 May 2005 20:57:59 -0700
Received: from liws01.linkinnovations.com (mtdoom.solsys.linkinnovations.com [10.0.5.1])
	by brazilnut.solsys.linkinnovations.com (8.13.3/8.13.3/Debian-6) with SMTP id j4J3vumh029606;
	Thu, 19 May 2005 13:57:56 +1000
Message-Id: <200505190357.j4J3vumh029606@brazilnut.solsys.linkinnovations.com>
Received: by liws01.linkinnovations.com (sSMTP sendmail emulation); Thu, 19 May 2005 13:58:16 +1000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jason Thomas <jason@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libapache-configfile-perl: Fails parsing ServerAlias entry with trailing \
 for continue to next line
X-Mailer: reportbug 3.12
Date: Thu, 19 May 2005 13:58:16 +1000
Delivered-To: submit@bugs.debian.org
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-Status: No, hits=-7.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	MSGID_FROM_MTA_HEADER autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libapache-configfile-perl
Version: 1.18-3
Severity: important


The following entries causes a parsing problem:

entry 1:
ServerAlias domain \
domain domain \
domain \
domain

entry 2:
SSLCertificateKeyFile /etc/apache/ssl/FREESSL.webinc.linkinnovations.com.npkey



I added the following at line 252:
print "r - ", $r, "\n";


output 1 below:

r -  domain
r -  domain \
Use of uninitialized value in print at /usr/share/perl5/Apache/ConfigFile.pm lin
e 252.
r - 
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Apache/Con
figFile.pm line 253.
Use of uninitialized value in hash element at /usr/share/perl5/Apache/ConfigFile
.pm line 274.
Use of uninitialized value in hash element at /usr/share/perl5/Apache/ConfigFile
.pm line 274.
Use of uninitialized value in print at /usr/share/perl5/Apache/ConfigFile.pm lin
e 252.


output 2 below:
r -  /etc/apache/ssl/FREESSL.holly.linkinnovations.com.npkey
Use of uninitialized value in print at /usr/share/perl5/Apache/ConfigFile.pm lin
e 252.
r - 
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Apache/Con
figFile.pm line 253.
Use of uninitialized value in hash element at /usr/share/perl5/Apache/ConfigFile
.pm line 274.
Use of uninitialized value in hash element at /usr/share/perl5/Apache/ConfigFile
.pm line 274.



I think that the regex's on lines 251 and 252 could be written better. A
suggestion would be to use [^\s]*, which means not space multiple times.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages libapache-configfile-perl depends on:
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 

-- no debconf information

---------------------------------------
Received: (at 309721-close) by bugs.debian.org; 19 May 2005 16:20:29 +0000
>From katie@ftp-master.debian.org Thu May 19 09:20:28 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DYnl6-0002Sa-00; Thu, 19 May 2005 09:20:28 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DYni5-0007nM-00; Thu, 19 May 2005 12:17:21 -0400
From: Gunnar Wolf <gwolf@debian.org>
To: 309721-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#309721: fixed in libapache-configfile-perl 1.18-4
Message-Id: <E1DYni5-0007nM-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 19 May 2005 12:17:21 -0400
Delivered-To: 309721-close@bugs.debian.org
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-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: libapache-configfile-perl
Source-Version: 1.18-4

We believe that the bug you reported is fixed in the latest version of
libapache-configfile-perl, which is due to be installed in the Debian FTP archive:

libapache-configfile-perl_1.18-4.diff.gz
  to pool/main/liba/libapache-configfile-perl/libapache-configfile-perl_1.18-4.diff.gz
libapache-configfile-perl_1.18-4.dsc
  to pool/main/liba/libapache-configfile-perl/libapache-configfile-perl_1.18-4.dsc
libapache-configfile-perl_1.18-4_all.deb
  to pool/main/liba/libapache-configfile-perl/libapache-configfile-perl_1.18-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 309721@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gunnar Wolf <gwolf@debian.org> (supplier of updated libapache-configfile-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 19 May 2005 10:56:04 -0500
Source: libapache-configfile-perl
Binary: libapache-configfile-perl
Architecture: source all
Version: 1.18-4
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Gunnar Wolf <gwolf@debian.org>
Description: 
 libapache-configfile-perl - Parse an Apache style httpd.conf configuration file
Closes: 309721
Changes: 
 libapache-configfile-perl (1.18-4) unstable; urgency=low
 .
   * Fixed: Handles lines broken by backslashes correctly. (Closes:
     #309721)
Files: 
 11ea3a8914ffa7da50872eedef69d14e 728 perl optional libapache-configfile-perl_1.18-4.dsc
 8d06b97ec0240de686eef701c713b92f 3285 perl optional libapache-configfile-perl_1.18-4.diff.gz
 36f311ab0c574e0be9699d7146656a8d 33320 perl optional libapache-configfile-perl_1.18-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCjLi62A7zWou1J68RApokAJ9Qe3oslV/h7cMM1pS/lmPJdUrrPwCfc8w7
1Ok7+4eOBuk0qclhG2kx9Co=
=yO/J
-----END PGP SIGNATURE-----