PHP 4.0 Bug #7338 Updated: unitialized variable in php_sybase_db.c
| From: | joey@php.net | Date: | Thu, 19 Oct 2000 16:09:26 +0000 |
| Subject: | PHP 4.0 Bug #7338 Updated: unitialized variable in php_sybase_db.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35545@lists.php.net to get a copy of this message | ||
ID: 7338
Updated by: joey
Reported By: bmr@comtime.com
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
Fixed in CVS. Thanks for your excellent report.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-19 08:36:18] bmr@comtime.com
--- php_sybase_db.c Sun Sep 3 13:43:09 2000
+++ php_sybase_db-fixed.c Thu Oct 19 08:38:27 2000
@@ -254,7 +254,7 @@
static void
php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS,int
persistent)
{
-
char *user,*passwd,*host,*charset;
+
char *user,*passwd,*host,*charset=NULL;
char *hashed_details;
int hashed_details_length;
sybase_link sybase,*sybase_ptr;
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7338