Bug #62983 [Com]: if user exceeds post_max_size, script may hang on output
Edit report at https://bugs.php.net/bug.php?id=62983&edit=1 ID: 62983 Comment by: bkfake-php at yahoo dot com Reported by:bkfake-php at yahoo dot com Summary:if user exceeds post_max_size, script may hang on output Status: Feedback Type: Bug Package:Output Control Operating System: Windows PHP Version:5.4.6 Block user comment: N Private report: N New Comment: Apache 2.2 My apologies if I incorrectly categorized this finding under "Output Control" Previous Comments: [2012-08-31 16:27:02] larue...@php.net are you using builtin webserver? [2012-08-31 15:13:14] bkfake-php at yahoo dot com Description: set post_max_size in php.ini to something relatively small (for easy testing) say 2M or 3M upload_max_filesize setting does not matter... though for practical reasons it should be smaller than post_max_size if posted data exceeds post_max_size... output seems to be limited to under 24500 - 33000 bytes (a modest amount of html) as soon as that unknown amount is exceeded, the script "hangs"? * next statement after the triggering echo (or print or file passthru, etc) is not executed. * headers not received by browser, * max_execution_time not reached * no errors generated (other than Warning "POST Content-Length of bytes exceeds the limit of bytes in Unknown on line 0,") firefox just sits spinning "Sending request to localhost..." IE says waiting for Test script: --- = $strlen_repeat_str ) { $strlen_output += $strlen_repeat_str; echo $repeat_str; } else { $strlen_output += $diff; echo substr($repeat_str,0,$diff); } } // when we go over $output_length, script seems to hang on echo statement... // headers not received by browser, // max_execution_time not reached // no errors generated (other than "PHP Warning localhost POST Content-Length of bytes exceeds the limit of bytes in Unknown on line 0,") // firefox just sits spinning "Sending request to localhost..." // IE says waiting for } else { echo 'uploading a file with a size over '.ini_get('post_max_size').' = potential crash'; ?> Expected result: initial file-upload form... after submitting the response should be the string "Too much arbitrary output and this script will hang. Why so?" repeated 400+times Actual result: -- script hangs -> nothing returned -- Edit this bug report at https://bugs.php.net/bug.php?id=62983&edit=1
[PHP-BUG] Bug #62983 [NEW]: if user exceeds post_max_size, script may hang on output
From: bkfake-php at yahoo dot com Operating system: Windows PHP version: 5.4.6 Package: Output Control Bug Type: Bug Bug description:if user exceeds post_max_size, script may hang on output Description: set post_max_size in php.ini to something relatively small (for easy testing) say 2M or 3M upload_max_filesize setting does not matter... though for practical reasons it should be smaller than post_max_size if posted data exceeds post_max_size... output seems to be limited to under 24500 - 33000 bytes (a modest amount of html) as soon as that unknown amount is exceeded, the script "hangs"? * next statement after the triggering echo (or print or file passthru, etc) is not executed. * headers not received by browser, * max_execution_time not reached * no errors generated (other than Warning "POST Content-Length of bytes exceeds the limit of bytes in Unknown on line 0,") firefox just sits spinning "Sending request to localhost..." IE says waiting for Test script: --- = $strlen_repeat_str ) { $strlen_output += $strlen_repeat_str; echo $repeat_str; } else { $strlen_output += $diff; echo substr($repeat_str,0,$diff); } } // when we go over $output_length, script seems to hang on echo statement... // headers not received by browser, // max_execution_time not reached // no errors generated (other than "PHP Warning localhost POST Content-Length of bytes exceeds the limit of bytes in Unknown on line 0,") // firefox just sits spinning "Sending request to localhost..." // IE says waiting for } else { echo 'uploading a file with a size over '.ini_get('post_max_size').' = potential crash'; ?> Expected result: initial file-upload form... after submitting the response should be the string "Too much arbitrary output and this script will hang. Why so?" repeated 400+times Actual result: -- script hangs -> nothing returned -- Edit bug report at https://bugs.php.net/bug.php?id=62983&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62983&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62983&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62983&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62983&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62983&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62983&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62983&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62983&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62983&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62983&r=support Expected behavior: https://bugs.php.net/fix.php?id=62983&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62983&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62983&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62983&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62983&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=62983&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62983&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62983&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62983&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62983&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62983&r=mysqlcfg
Bug #45404 [Com]: SoapClient.__getTypes don't care about inheritance
Edit report at https://bugs.php.net/bug.php?id=45404&edit=1 ID: 45404 Comment by: bkfake-php at yahoo dot com Reported by:oamblet at vmware dot com Summary:SoapClient.__getTypes don't care about inheritance Status: No Feedback Type: Bug Package:SOAP related Operating System: MacOSX 10.5 PHP Version:5.2.6 Block user comment: N Private report: N New Comment: I've just encountered this bug/shortcoming. Thought it deserved a "bump" the original report from 4 years ago states this bug makes it "hard". I think the mor accurate word is "impossible" Previous Comments: [2012-05-11 11:40:55] patkoscsaba at syneto dot net I can confirm this bug is still present with PHP 5.3.10 on OpenIndiana. [2011-07-19 18:33:14] abel dot silva at gmail dot com Hello, I'm having exactly the same problem. php 5.3.0 on windows [2011-02-11 08:23:06] ujl at topdanmark dot dk Hello, I've same problem. I'm using a WSDL generator which read the WSDL file and the extension doesn't work. I've tried with windows PHP 5.2.17 and PHP 5.3.5. Is the problem solved on the *nix platform and not Windows? The problem is extactly the same as described by oamblet 2008-07-01 and I didn't understand the issue is not solved in the windows version of PHP?? [2009-05-06 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2009-04-28 18:44:21] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ 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=45404 -- Edit this bug report at https://bugs.php.net/bug.php?id=45404&edit=1