NetBSD Problem Report #32175
From lukem@mewburn.net Sun Nov 27 23:55:44 2005
Return-Path: <lukem@mewburn.net>
Received: from home.mewburn.net (home.mewburn.net [150.101.166.131])
by narn.netbsd.org (Postfix) with ESMTP id AFDD363B86F
for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 Nov 2005 23:55:43 +0000 (UTC)
Message-Id: <20051127235532.803082BE10@home.mewburn.net>
Date: Mon, 28 Nov 2005 10:55:32 +1100 (EST)
From: lukem@NetBSD.org
Reply-To: lukem@NetBSD.org
To: gnats-bugs@netbsd.org
Subject: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
X-Send-Pr-Version: 3.95
>Number: 32175
>Category: pkg
>Synopsis: squirrelmail downloads are corrupt
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: martti
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 27 23:56:00 +0000 2005
>Closed-Date: Tue Dec 06 05:56:22 +0000 2005
>Last-Modified: Tue Dec 06 05:56:22 +0000 2005
>Originator: Luke Mewburn
>Release: NetBSD 3.0_RC3
>Organization:
>Environment:
>Description:
Using
squirrelmail-1.4.5nb1
php-4.4.1nb2
ap-php-4.4.1nb2
apache-1.3.33nb7
results in corrupted downloads when you to try and download
an attachment.
If you examine the download you see that the file
has two lines inserted at the front which appear to be
a PHP error.
>How-To-Repeat:
Install squirrelmail (et al).
Download an attachment (such as a JPEG)
Notice the result is corrupt.
>Fix:
Use the fix that is in the upcoming (?) squirrelmail 1.4.6.
Per the notes in http://www.squirrelmail.org/changelog.php :
- Fixed invalid reference in src/download.php.
E_NOTICE level warnings could corrupt
attachments in php 4.4.0.
>Release-Note:
>Audit-Trail:
From: Urban Boquist <urban@boquist.net>
To: gnats-bugs@netbsd.org, lukem@NetBSD.org
Cc:
Subject: Re: pkg/32175: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
Date: Mon, 28 Nov 2005 13:16:22 +0100
I'm not sure what you are seeing but could this not be the same as the
problem fixed by "patch-ab" in PHP recently? That fix bumped php to
nb2 and ap-php to nb3, and I see that you still seem to have ap-php nb2?
Best regards,
-- Urban
>>>>> lukem writes:
>> Number: 32175 Category: pkg Synopsis: squirrelmail downloads are
>> corrupt Confidential: no Severity: critical Priority: high
>> Responsible: pkg-manager State: open Class: sw-bug Submitter-Id:
>> net Arrival-Date: Sun Nov 27 23:56:00 +0000 2005 Originator: Luke
>> Mewburn Release: NetBSD 3.0_RC3 Organization: Environment:
>> Description:
lukem> Using
lukem> squirrelmail-1.4.5nb1 php-4.4.1nb2 ap-php-4.4.1nb2
lukem> apache-1.3.33nb7
lukem> results in corrupted downloads when you to try and download an
lukem> attachment. If you examine the download you see that the file
lukem> has two lines inserted at the front which appear to be a PHP
lukem> error.
>> How-To-Repeat:
lukem> Install squirrelmail (et al). Download an attachment (such as
lukem> a JPEG) Notice the result is corrupt.
>> Fix:
lukem> Use the fix that is in the upcoming (?) squirrelmail 1.4.6.
lukem> Per the notes in http://www.squirrelmail.org/changelog.php :
lukem> - Fixed invalid reference in src/download.php.
lukem> E_NOTICE level warnings could corrupt attachments
lukem> in php 4.4.0.
From: Luke Mewburn <lukem@NetBSD.org>
To: Urban Boquist <urban@boquist.net>
Cc: gnats-bugs@netbsd.org, lukem@NetBSD.org
Subject: Re: pkg/32175: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
Date: Tue, 29 Nov 2005 02:15:28 +1100
--WhfpMioaduB5tiZL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Nov 28, 2005 at 01:16:22PM +0100, Urban Boquist wrote:
| I'm not sure what you are seeing but could this not be the same as the
| problem fixed by "patch-ab" in PHP recently? That fix bumped php to
| nb2 and ap-php to nb3, and I see that you still seem to have ap-php nb2?
It's not the same problem.
I have manually edited download.php to make the fix in a similar
manner to what squirrelmail 1.4.6 will have (remove the `&' reference
operator from a couple of lines) and that solves the particular
problem I reported.
BTW: I'm using pkgsrc-2005Q3, so the ap-php needs to be upgraded to=20
4.4.1nb3 on that branch.
| >>>>> lukem writes:
|=20
| >> Number: 32175 Category: pkg Synopsis: squirrelmail downloads are
| >> corrupt Confidential: no Severity: critical Priority: high
| >> Responsible: pkg-manager State: open Class: sw-bug Submitter-Id:
| >> net Arrival-Date: Sun Nov 27 23:56:00 +0000 2005 Originator: Luke
| >> Mewburn Release: NetBSD 3.0_RC3 Organization: Environment:
| >> Description:
| lukem> Using
| lukem> squirrelmail-1.4.5nb1 php-4.4.1nb2 ap-php-4.4.1nb2
| lukem> apache-1.3.33nb7
| lukem> results in corrupted downloads when you to try and download an
| lukem> attachment. If you examine the download you see that the file
| lukem> has two lines inserted at the front which appear to be a PHP
| lukem> error.
|=20
| >> How-To-Repeat:
| lukem> Install squirrelmail (et al). Download an attachment (such as
| lukem> a JPEG) Notice the result is corrupt.
|=20
| >> Fix:
| lukem> Use the fix that is in the upcoming (?) squirrelmail 1.4.6.
| lukem> Per the notes in http://www.squirrelmail.org/changelog.php :
| lukem> - Fixed invalid reference in src/download.php.
| lukem> E_NOTICE level warnings could corrupt attachments
| lukem> in php 4.4.0.
--WhfpMioaduB5tiZL
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFDix8QpBhtmn8zJHIRAh5GAJ40wHYGwD2Aio0qiTUVsxgYjVhHRACggMZd
YAhJTs5WqUXbS/aeQzdZOAA=
=NGAH
-----END PGP SIGNATURE-----
--WhfpMioaduB5tiZL--
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/32175: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
Date: Mon, 28 Nov 2005 20:42:57 +0100
On Mon, Nov 28, 2005 at 03:16:02PM +0000, Luke Mewburn wrote:
>
> BTW: I'm using pkgsrc-2005Q3, so the ap-php needs to be upgraded to=20
> 4.4.1nb3 on that branch.
No, ap-php-4.4.1nb2 on branch == ap-php-4.4.1nb3 on HEAD. PKGREVISION
was bumped on HEAD for a fix to ap-php-5 (but ap-php-4 and ap-php-5 share
the same PKGREVISION) which was never pulled up to the branch.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
Responsible-Changed-From-To: pkg-manager->martti
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Mon, 28 Nov 2005 22:46:04 +0000
Responsible-Changed-Why:
over to maintainer
From: Martti Kuparinen <martti.kuparinen@iki.fi>
To:
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, lukem@netbsd.org
Subject: Re: pkg/32175
Date: Mon, 05 Dec 2005 11:22:40 +0200
Does the latest version fix your problems?
Martti
From: Luke Mewburn <lukem@NetBSD.org>
To: Martti Kuparinen <martti.kuparinen@iki.fi>
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, lukem@netbsd.org
Subject: Re: pkg/32175
Date: Tue, 6 Dec 2005 09:17:39 +1100
--unl2YYqPcAwXdP9c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Dec 05, 2005 at 11:22:40AM +0200, Martti Kuparinen wrote:
| Does the latest version fix your problems?
As far as I can tell, yes.
I manually applied your fix to my pkgsrc-2005Q3 branch
and built & installed the result and the downloads seem
to work.
Could you request a formal pullup of your fixes to the pkgsrc
branch?
Thanks for fixing this,
Luke.
--unl2YYqPcAwXdP9c
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFDlLyDpBhtmn8zJHIRAqKmAJ4hT7GlmII73Xg8k7/G6t9/hfvzWgCeJuT9
7sTbCY9pJfdgyDxoScSML9E=
=R8m2
-----END PGP SIGNATURE-----
--unl2YYqPcAwXdP9c--
State-Changed-From-To: open->closed
State-Changed-By: martti@netbsd.org
State-Changed-When: Tue, 06 Dec 2005 05:56:22 +0000
State-Changed-Why:
Fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.