php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31939 Test for Bug 30967 uses hardcoded login
Submitted: 2005-02-11 22:43 UTC Modified: 2005-02-25 09:44 UTC
From: webmaster at ragnarokonline dot de Assigned: georg (profile)
Status: Closed Package: MySQLi related
PHP Version: 5.x OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: webmaster at ragnarokonline dot de
New email:
PHP Version: OS:

 

 [2005-02-11 22:43 UTC] webmaster at ragnarokonline dot de
Description:
------------
The login-data in the MySQLi-test for Bug 30967 is trying to login with a hardcoded username/password-combo.

The fix is simple:
find in ext/mysqli/tests/bug30967.phpt:
	$mysql = new mysql2($host, "root", "", "test");
and replace it with:
	$mysql = new mysql2($host, $user, $passwd, "test");


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-11 22:56 UTC] webmaster at ragnarokonline dot de
changing version to irrelevant ...
 [2005-02-21 22:35 UTC] sniper@php.net
The version isn't irrelevant. It's 5.x if anything. (mysqli does not exist in PHP 4)

 [2005-02-21 22:37 UTC] sniper@php.net
Assigning to da author of the test and extension. :)

 [2005-02-25 09:44 UTC] georg@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC