php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7671 mysql_connect() and mysql_pconnect overwrite ':' with NULL in first arg
Submitted: 2000-11-07 00:23 UTC Modified: 2000-12-11 06:23 UTC
From: jeff dot horner at ingramentertainment dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.3pl1 OS: linux
Private report: No CVE-ID: None
 [2000-11-07 00:23 UTC] jeff dot horner at ingramentertainment dot com
In php_mysql.c, the function php_mysql_do_connect() is overwriting ':' in the variable host with NULL values.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-11 06:23 UTC] stas@php.net
Fixed in CVS (Zeev, r. 1.61).
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 21:00:01 2026 UTC