Your message dated Sun, 06 Apr 2008 13:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#291753: fixed in cgilib 0.6-1
has caused the Debian Bug report #291753,
regarding cgilib is sometimes outputting rubbish
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
291753: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291753
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: cgilib
Version: 0.5-4
Severity: important
Tags: patch
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux earth.cosmos.com 2.4.20 #1 Mon Dec 20 16:31:57 CET 2004 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]
Hello,
While testing a S-Lang module for cgilib
(http://www.cheesit.com/downloads/slang/slcgi), I've found that sometimes
the empty line that should separate the HTTP header from the body is not
empty. This is caused by rubbish being printed after the newline of the last
header, and this seems to be caused by cgiSetHeader not always
null-terminating the cgiHeaderString. This patch should fix it:
--- cgi.c~ Fri Aug 20 23:14:07 1999
+++ cgi.c Sat Jan 22 23:51:55 2005
@@ -64,6 +64,7 @@
pivot[cp-name+2] = '\0';
strncat (pivot, value, vp-value);
pivot[cp-name+2+vp-value] = '\n';
+ pivot[cp-name+3+vp-value] = '\0';
} else {
len = (cp-name + vp-value + 4) * sizeof (char);
if ((cgiHeaderString = (char *)malloc (len)) == NULL)
@@ -74,6 +75,7 @@
cgiHeaderString[cp-name+2] = '\0';
strncat (cgiHeaderString, value, vp-value);
cgiHeaderString[cp-name+2+vp-value] = '\n';
+ cgiHeaderString[cp-name+3+vp-value] = '\0';
}
return 1;
}
--- End Message ---
--- Begin Message ---
Source: cgilib
Source-Version: 0.6-1
We believe that the bug you reported is fixed in the latest version of
cgilib, which is due to be installed in the Debian FTP archive:
cgilib_0.6-1.diff.gz
to pool/main/c/cgilib/cgilib_0.6-1.diff.gz
cgilib_0.6-1.dsc
to pool/main/c/cgilib/cgilib_0.6-1.dsc
cgilib_0.6-1_i386.deb
to pool/main/c/cgilib/cgilib_0.6-1_i386.deb
cgilib_0.6.orig.tar.gz
to pool/main/c/cgilib/cgilib_0.6.orig.tar.gz
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Schulze <[EMAIL PROTECTED]> (supplier of updated cgilib 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 06 Apr 2008 15:16:19 +0200
Source: cgilib
Binary: cgilib
Architecture: source i386
Version: 0.6-1
Distribution: unstable
Urgency: low
Maintainer: Martin Schulze <[EMAIL PROTECTED]>
Changed-By: Martin Schulze <[EMAIL PROTECTED]>
Description:
cgilib - Simple CGI Library
Closes: 162239 282334 291753 336524
Changes:
cgilib (0.6-1) unstable; urgency=low
.
* New upstream version
. Declare some variables const (closes: Bug#162239)
. Add CR to Content-type output (closes: Bug#282334)
. Properly terminate buffer (closes: Bug#291753)
. Decode CGI variable names (closes: Bug#336524)
* Bumped Standards-Version
* Enhanced copyright file
Files:
127a107db7bda6b7bbe460c35a1ea61b 513 web optional cgilib_0.6-1.dsc
392f00a4ce90426606efcb6ce705fd75 25268 web optional cgilib_0.6.orig.tar.gz
bfd02601d29335bc20a213c6700d42dd 5075 web optional cgilib_0.6-1.diff.gz
64823380344895b4d3d4667b7efe1fcd 37766 web optional cgilib_0.6-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH+M+mW5ql+IAeqTIRAiI4AKChS2hQi+27RNVFPrLoEFnDkai8JQCghkdB
yoMxVh6klTHtaFkn23ExuDI=
=TKhj
-----END PGP SIGNATURE-----
--- End Message ---