|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-12-02 09:44 UTC] mb at sime dot com
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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 21:00:01 2025 UTC |
Error occurs when using 4.0.4RC3 as well: [Sun Dec 3 17:23:59 2000] Script: '-' --------------------------------------- rfc1867.c(183) : Block 0x0818BAD8 status: Beginning: OK (allocated on rfc1867.c:185, 16 bytes) End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84) 1 byte(s) overflown You can find the page I'm submiting on http://mabene.sime.com/edit_dokument.htm. just submitting this to a dummy-script (something like <? phpinfo(); ?> will give you 6 of the messages above. configure: ./configure \ --enable-debug \ --enable-track-vars \ --with-config-file-path=/etc/ \ --enable-trans-sid \ --enable-discard-path \ --without-msql \ --without-mysql \ --enable-force-cgi-redirectProblem fixed by changing main/rfc1867.c from lbuf = emalloc(s-name + MAX_SIZE_OF_INDEX); to lbuf = emalloc(s-name + MAX_SIZE_OF_INDEX+1); Fix is included in php 4.0.4 release.