#40938 [Opn->Asn]: BUG #38263 (Binary data corrupted on multipart form-data) still exists (4.4.x)

From: Date: Wed, 28 Mar 2007 18:36:40 +0000
Subject: #40938 [Opn->Asn]: BUG #38263 (Binary data corrupted on multipart form-data) still exists (4.4.x)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110893@lists.php.net to get a copy of this message
ID: 40938 Updated by: tony2001@php.net Reported By: ass3mbler at gmail dot com -Status: Open +Status: Assigned Bug Type: HTTP related Operating System: Linux Gentoo 2.6.x PHP Version: 4.4.6 -Assigned To: +Assigned To: iliaa Previous Comments: ------------------------------------------------------------------------ [2007-03-28 17:51:35] ass3mbler at gmail dot com Description: ------------ The BUG #38236(http://bugs.php.net/bug.php?id=38236),correctly addressed and fixed in the PHP 5.x codebase, is still present in the PHP 4.4.x codebase. I've tested and reproduced the same problem with many installations ranging from PHP 4.4.0 to PHP 4.4.6 included. I've used the relevant patches from iliaa for the files: /main/php_variables.c (http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.127&r2=1.128 /main/rfc1867.c (http://cvs.php.net/viewvc.cgi/php-src/main/rfc1867.c?r1=1.186&r2=1.187) adapting them for the 4.4.x codebase, and they seems to work correctly. The patches are available here: patch for php_variables.c => http://www.box.net/shared/akyjqyq55s patch for rfc1867.c => http://www.box.net/shared/2ime21vb4j Reproduce code: --------------- Same as BUG #38236(http://bugs.php.net/bug.php?id=38236) Expected result: ---------------- BUG #38236(http://bugs.php.net/bug.php?id=38236) Actual result: -------------- BUG #38236(http://bugs.php.net/bug.php?id=38236). Seems fixed applying the attached patches ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40938&edit=1

« previous php.bugs (#110893) next »