sqlite_escape_string bug(?)

php.internals

Ondrej Ivanič

20 years ago
Hi After server upgrade I was found this possible bug in sqlite_esacpe_string function: <?php echo sqlite_escape_string('test'); ?> Output is: PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate -1962934272 bytes) in /home/ondrej/test.php on line 3 Server is running Debian 3.1 on amd64 and PHP 4.4.0. I don't open bug report, because I can't reproduce this behavior in different version of PHP (PHP 5.1, gentoo, amd64). PHP 4.4.0 (same Debian 3.1) on i686 is without this issue. At the production it's not possible upgrade PHP to higher version at this moment. Could someone try to reproduce this issue? Thanks
-- Ondrej Ivanic (ondrej@kmit.sk)