php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7273 odbc_connect causes a segmentation fault
Submitted: 2000-10-17 06:24 UTC Modified: 2001-05-08 10:56 UTC
From: edrenth at thematec dot nl Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.3 OS: redhat 6.2 linux 2.2.16-3
Private report: No CVE-ID: None
 [2000-10-17 06:24 UTC] edrenth at thematec dot nl
$conn=odbc_connect("DSN=database;UID=user;PWD=passwd","","");
if (!$conn)
{ echo "NO DATABASE!"; exit; }

When the database is down (or the user is wrong, or anything else is wrong) odbc_connect causes a segmentation fault.

./configure --with-mysql=no --with-openlink --with-apache=../apache_1.3.12 --enable-track-vars

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-30 10:16 UTC] kalowsky@php.net
is this still occuring in a recent release?
 [2001-04-03 03:43 UTC] edrenth at thematec dot nl
Yes, I have tried it with 4.0.4 patch level 1
 [2001-04-16 23:33 UTC] kalowsky@php.net
i am unable to reproduce this locally.  have you tried updating to the latest openlink drivers?  i'm also running from the most recent cvs...
 [2001-05-08 10:56 UTC] kalowsky@php.net
no user feedback, considered fixed in cvs.  if untrue, please reopen the bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC