From:             fhenninot at freesurf dot fr
Operating system: Linux
PHP version:      5.1.0b2
PHP Bug Type:     PDO related
Bug description:  crash 'apache' when a query contain ':memory:'

Description:
------------
This is a bug, i think, in PHP-5.1B3
When i search a string named ':memory:' into a database field, this crash
apache with the message : [Fri Jul 15 20:17:11 2005] [notice] child pid
11338 exit signal Segmentation fault (11)
I can test it on linux only! and with some apache version.


Reproduce code:
---------------
<?php
$PDO_DB = new
PDO('sqlite:/usr/local/apache2/htdocs/SQLiteManager-1.1.2CVS/include/config3.db',
'', '');
$res = $PDO_DB->query("SELECT * FROM database WHERE location like
':memory:'");





-- 
Edit bug report at http://bugs.php.net/?id=33717&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33717&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33717&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33717&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33717&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33717&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33717&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33717&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33717&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33717&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33717&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33717&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33717&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33717&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33717&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33717&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33717&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33717&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33717&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33717&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33717&r=mysqlcfg

Reply via email to