PHP 4.0 Bug #7273: odbc_connect causes a segmentation fault
| From: | edrenth at thematec dot nl | Date: | Tue, 17 Oct 2000 10:24:52 +0000 |
| Subject: | PHP 4.0 Bug #7273: odbc_connect causes a segmentation fault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35237@lists.php.net to get a copy of this message | ||
From: edrenth@thematec.nl
Operating system: redhat 6.2 linux 2.2.16-3
PHP version: 4.0.3
PHP Bug Type: ODBC related
Bug description: odbc_connect causes a segmentation fault
$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
--
Edit Bug report at: http://bugs.php.net/?id=7273&edit=1