php-thttpd sapi bug #11323 fix
| From: | nishant kumar | Date: | Tue, 03 Nov 2009 07:21:49 +0000 |
| Subject: | php-thttpd sapi bug #11323 fix | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45941@lists.php.net to get a copy of this message | ||
Hi list,
i want to submit a patch regarding this bug
http://bugs.php.net/bug.php?id=11323
The bug is that if the post request spans multiple packets as in case of
file upload in php-thttpd then it fails and sometime php-thttpd crashes as
php code expects that the thttpd code has read full contentlength already
into thttpd buffer ( read_buf ), which is not the case.
Currently maximum size of file that php-thttpd can upload cannot be greater
than 2600 bytes ( hc->read_size ) theoritically
I dont have an account to check in the code , so if anyone has access or
anyone can give me pointers for submitting it, i would be glad.
The patch file is attached along.
thanks
Nishant