Subject: Re: pkg/32175: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Luke Mewburn <lukem@NetBSD.org>
List: pkgsrc-bugs
Date: 11/28/2005 15:16:02
The following reply was made to PR pkg/32175; it has been noted by GNATS.
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--