ID:               32143
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sandell at winwap dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         InterBase related
 Operating System: Windows XP SP2
 PHP Version:      5CVS-2005-03-01
 Assigned To:      abies
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in HEAD and PHP_5_3


Previous Comments:
------------------------------------------------------------------------

[2005-12-26 16:34:51] [EMAIL PROTECTED]

Assigned to the maintainer.

------------------------------------------------------------------------

[2005-03-01 09:18:37] sandell at winwap dot com

Description:
------------
ibase_query() causes a Interbase Server crash if an invalid DB handle
is used and parameters are passed in the function. There must be an
existing DB connection opened with ibase_connect().

System info (All on same machine):
- Windows XP SP2
- Apache 2.0.50
- PHP 5.1.0-DEV (Downloaded 1.3.2005)
- Interbase Server WI-V7.1.0.192


Reproduce code:
---------------
// Crash Code
$db = ibase_connect($dbname,'SYSDBA','masterkey','None',0,3);
$sql = "SELECT * FROM aTable WHERE Status = ?";
$sth = ibase_query($db_hand, $sql, 0 ); // <- THIS LINE CRASHES IB
SERVER (Note $db_hand variable)
ibase_close($db);


Expected result:
----------------
function should fail with an error reported to the log 

Actual result:
--------------
Interbase Server crashes


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32143&edit=1

Reply via email to