Subject: Re: pkg/32175: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
To: None <,,>
From: Luke Mewburn <>
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 <>
To: Urban Boquist <>
Subject: Re: pkg/32175: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
Date: Tue, 29 Nov 2005 02:15:28 +1100

 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:
   | >> 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 :
   | lukem> - Fixed invalid reference in src/download.php.
   | lukem> 		    E_NOTICE level warnings could corrupt attachments
   | lukem> 		    in php 4.4.0.
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 Version: GnuPG v1.4.1 (NetBSD)