#43540 [Com]: rfc1867 handler newlength problem
| From: | tomas at tomas-muller dot net | Date: | Thu, 21 Aug 2008 01:23:34 +0000 |
| Subject: | #43540 [Com]: rfc1867 handler newlength problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128269@lists.php.net to get a copy of this message | ||
ID: 43540
Comment by: tomas at tomas-muller dot net
Reported By: thomas at partyflock dot nl
Status: Open
Bug Type: HTTP related
Operating System: Linux
PHP Version: 5.2.5
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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