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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: edrenth at thematec dot nl
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 16:01:30 2025 UTC