PHP 4.0 Bug #7807: core dump
| From: | amit at zend dot com | Date: | Tue, 14 Nov 2000 12:24:02 +0000 |
| Subject: | PHP 4.0 Bug #7807: core dump | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38060@lists.php.net to get a copy of this message | ||
From: amit@zend.com
Operating system: linux red hat 7.0
PHP version: 4.0.3pl1
PHP Bug Type: ODBC related
Bug description: core dump
the problem is that the odbc_autocommit function has an option to be sent
only with the connection id parameter, and in that case it should return us
the status of the autocommit (0 or 1).
in this short script when sent with no optional parameter the function produces "core
dump".
<?php
$id = odbc_connect("zendtest", "db2inst1", "********");
$status = odbc_autocommit($id);//***this function crashe the system if send with no second
parameter.***
?>
--
Edit Bug report at: http://bugs.php.net/?id=7807&edit=1