php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7338 unitialized variable in php_sybase_db.c
Submitted: 2000-10-19 08:36 UTC Modified: 2000-10-19 12:09 UTC
From: bmr at comtime dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.3pl1 OS: Linux
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: bmr at comtime dot com
New email:
PHP Version: OS:

 

 [2000-10-19 08:36 UTC] bmr at comtime dot 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;

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-19 12:09 UTC] joey@php.net
Fixed in CVS. Thanks for your excellent report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 12:00:01 2026 UTC