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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 + 20 = ?
Subscribe to this entry?

 
 [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: Fri May 17 11:01:34 2024 UTC