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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: amit at zend dot com
New email:
PHP Version: OS:

 

 [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