Edit report at https://bugs.php.net/bug.php?id=60928&edit=1

 ID:                 60928
 User updated by:    bardobakker at gmail dot com
 Reported by:        bardobakker at gmail dot com
 Summary:            php crash after http post without content type
                     header set
 Status:             Open
 Type:               Bug
 Package:            Apache2 related
 Operating System:   Linux
 PHP Version:        5.3.9
 Block user comment: N
 Private report:     N

 New Comment:

I've installed plesk on my server. Last night it has automatic updated php from 
5.3.9 to 5.3.10.
Now I can't even reproduce the bug!
I can't downgrade, since plesk gets deinstalled in the first place during the 
downgrade.
Let close it and not waste our time?


Previous Comments:
------------------------------------------------------------------------
[2012-02-03 16:57:29] bardobakker at gmail dot com

Hi again,
Sorry for late reply...
So, I disabled mbstring as you asked, and no seg. fault now!
Where is this leading to? Should I switch it back on? What is it doing?
tanx

------------------------------------------------------------------------
[2012-02-02 08:46:57] cataphr...@php.net

You can disable mbstring by commenting out the "extension=mbstring.so" line 
from the configuration file and restarting Apache (and then confirm "mbstring" 
doesn't show up in phpinfo()).

------------------------------------------------------------------------
[2012-01-31 22:31:09] bardobakker at gmail dot com

php.ini has the default mbstring options = everything commented out
mbstring.ini has only the line:

extension=mbstring.so

In a local .htaccess file I added:

php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0

which doesn't change anything in the output of phpinfo()

How would you disable mbstring?
Can it have something to do with mime type stuff or so?

Output phpinfo: http://www.mymoza.com/tup/info.php

------------------------------------------------------------------------
[2012-01-31 21:54:31] cataphr...@php.net

I can't reproduce the error. Could you try disabling mbstring? And if, after 
disabling mbstring, there's no segfault, please tell us your configuration for 
mbstring.* ini options (those active for the script that receives the POST 
request).

------------------------------------------------------------------------
[2012-01-31 21:04:01] bardobakker at gmail dot com

Hi,

First of all, a surprising header in tcp dump (for me), I thought content type 
was not set, but:

POST /tup/up.php HTTP/1.1
Content-Length: 1038349
Connection: Keep-Alive
Accept-Encoding: gzip
Accept-Language: nl-NL,en,*
User-Agent: Mozilla/5.0
Host: www.mymoza.com
Content-Type: application/x-www-form-urlencoded

URL of tcpdump (libpcap format): http://www.mymoza.com/tup/tcpdump.data
URL of test image: http://www.mymoza.com/tup/image.jpg

With the following headers set no seg. fault will occur:

POST /tup/up.php HTTP/1.1
Content-Type: image/jpeg
Content-Length: 1038349
Connection: Keep-Alive
Accept-Encoding: gzip
Accept-Language: nl-NL,en,*
User-Agent: Mozilla/5.0
Host: www.mymoza.com

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=60928


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60928&edit=1

Reply via email to