#21635 [Opn->Bgs]: pg_escape_* want to allocate an insane amount of memory
| From: | derick@php.net | Date: | Tue, 14 Jan 2003 16:01:36 +0000 |
| Subject: | #21635 [Opn->Bgs]: pg_escape_* want to allocate an insane amount of memory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30008@lists.php.net to get a copy of this message | ||
ID: 21635
Updated by: derick@php.net
Reported By: r.s.a.vandomburg@student.utwente.nl
-Status: Open
+Status: Bogus
Bug Type: PostgreSQL related
Operating System: FreeBSD/sparc64 5.0-RC3
PHP Version: 4.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-01-14 09:49:09] r.s.a.vandomburg@student.utwente.nl
Subject says it all. Working with PostgreSQL 7.3.1. Simple script to
reproduce this behavior:
<?php
$str = pg_escape_string("toet");
echo $str;
?>
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