#21635 [NEW]: pg_escape_* want to allocate an insane amount of memory
From: [EMAIL PROTECTED] Operating system: FreeBSD/sparc64 5.0-RC3 PHP version: 4.2.3 PHP Bug Type: PostgreSQL related Bug description: pg_escape_* want to allocate an insane amount of memory Subject says it all. Working with PostgreSQL 7.3.1. Simple script to reproduce this behavior: FATAL: emalloc(): Unable to allocate 36514201601 bytes Webpages containing such code take a long time to be generated on the server but leave no error message in the Apache log. -- Edit bug report at http://bugs.php.net/?id=21635&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21635&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21635&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21635&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21635&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21635&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=21635&r=support Expected behavior: http://bugs.php.net/fix.php?id=21635&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=21635&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=21635&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21635&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21635&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21635&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21635&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=21635&r=gnused
#21635 [Bgs->Opn]: pg_escape_* want to allocate an insane amount of memory
ID: 21635 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: PostgreSQL related -Operating System: FreeBSD/sparc64 5.0-RC3 +Operating System: FreeBSD/sparc64 5.0-CURRENT -PHP Version: 4.2.3 +PHP Version: 4.3.0 New Comment: After having upgraded to 4.3.0, the problem persisted. In the meanwhile, I have also upgraded to PostgreSQL 7.3.2 but to no avail. Previous Comments: [2003-01-14 10:01:36] [EMAIL PROTECTED] Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. [2003-01-14 09:49:09] [EMAIL PROTECTED] Subject says it all. Working with PostgreSQL 7.3.1. Simple script to reproduce this behavior: FATAL: emalloc(): Unable to allocate 36514201601 bytes Webpages containing such code take a long time to be generated on the server but leave no error message in the Apache log. -- Edit this bug report at http://bugs.php.net/?id=21635&edit=1