php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7807 core dump
Submitted: 2000-11-14 07:24 UTC Modified: 2001-04-16 22:05 UTC
From: amit at zend dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.3pl1 OS: linux red hat 7.0
Private report: No CVE-ID: None
 [2000-11-14 07:24 UTC] amit at zend dot com
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.***
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-16 22:05 UTC] kalowsky@php.net
should be fixed in cvs now
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 15:01:33 2024 UTC