Subject: pkg/32175: squirrelmail-1.4.5nb1 + php-4.4.1nb2 = corrupt downloads
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lukem@NetBSD.org>
List: pkgsrc-bugs
Date: 11/27/2005 23:56:00
>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:
	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.