#43540 [Opn->Csd]: rfc1867 handler newlength problem
ID: 43540
Updated by: lbarnaud@php.net
Reported By: thomas at partyflock dot nl
-Status: Open
+Status: Closed
Bug Type: HTTP related
Operating System: Linux
PHP Version: 5.2.5
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-08-21 01:25:47] tomas at tomas-muller dot net
FYI a more detailed description can be found here:
http://pecl.php.net/bugs/bug.php?id=10715
------------------------------------------------------------------------
[2008-08-21 01:23:33] tomas at tomas-muller dot net
I can confirm that making this change and recompiling fixes the bug for
me. Could anyone please review this and fix it? This annoying bug makes
the rfc1867 hook effectively unusable.
------------------------------------------------------------------------
[2007-12-08 23:49:45] thomas at partyflock dot nl
Description:
------------
In main/rfc1867.c, line 928, newlength is initialized to 0.
Shouldn't this be new_val_len?
Currently if your form handler does nothing and always returns SUCCESS,
all the viables get set, but with 0 length strings.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43540&edit=1
Thread (4 messages)