From: jordi at bunster dot org Operating system: Linux PHP version: 4.3.4 PHP Bug Type: HTTP related Bug description: Max POST size overflow
Description: ------------ Giving post_max_size a value equal or greater than 2GB on php.ini causes php to overflow the variable it uses to store that value. The result is log entries similar to this: "POST Content-Length of 0 bytes exceeds the limit of -2147483648 bytes" Reproduce code: --------------- Set post_max_size to 2G or more on php.ini, execute a POST operation on a php script. Expected result: ---------------- The POST operation should complete, according to the limits specified on php.ini Actual result: -------------- "POST Content-Length of 0 bytes exceeds the limit of -2147483648 bytes" or similar entries on the webserver logfile, POST fails. -- Edit bug report at http://bugs.php.net/?id=28625&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28625&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28625&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28625&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28625&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28625&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28625&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28625&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28625&r=support Expected behavior: http://bugs.php.net/fix.php?id=28625&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28625&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28625&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28625&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28625&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28625&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28625&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28625&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28625&r=float