PHP 4.0 Bug #8078: File upload causes memory corruption / sig11 in rfc1867.c
| From: | mb at sime dot com | Date: | Sat, 02 Dec 2000 14:44:09 +0000 |
| Subject: | PHP 4.0 Bug #8078: File upload causes memory corruption / sig11 in rfc1867.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39845@lists.php.net to get a copy of this message | ||
From: mb@sime.com
Operating system: Linux 2.2.17
PHP version: 4.0.3pl1
PHP Bug Type: Reproduceable crash
Bug description: File upload causes memory corruption / sig11 in rfc1867.c
When receiving posted data with enctype="multipart/form-data" php exits with sig11; after
compiling php to run as cgi with debug information I get the following error message:
[Fri Dec 1 15:22:48 2000] Script: '/home/httpd/login/htdocs/intranet/arch/save_dok.php'
---------------------------------------
rfc1867.c(182) : Block 0x081DD568 status:
Beginning: OK (allocated on rfc1867.c:184, 16 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
Looks like there's something wrong with the decoder for multipart-formdata.
--
Edit Bug report at: http://bugs.php.net/?id=8078&edit=1