#35388 [Opn->Fbk]: MySQLi crashes apache on new object if passed incorrect access details
| From: | tony2001@php.net | Date: | Fri, 25 Nov 2005 11:20:47 +0000 |
| Subject: | #35388 [Opn->Fbk]: MySQLi crashes apache on new object if passed incorrect access details | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88931@lists.php.net to get a copy of this message | ||
ID: 35388
Updated by: tony2001@php.net
Reported By: dmytton@php.net
-Status: Open
+Status: Feedback
Bug Type: MySQLi related
Operating System: Windows XP Home SP2
PHP Version: 5.1.0
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Works fine here.
Previous Comments:
------------------------------------------------------------------------
[2005-11-25 12:15:02] dmytton@php.net
Description:
------------
If you create a new mysqli object using incorrect login details, Apache
crashes.
Version info output from mysql_* and mysqli_* functions:
mysql
Client Encoding: latin1
Client Version: 5.0.16
Protocol Version: 10
Server Version: 5.0.16-nt
mysqli
Client Encoding: latin1
Client Version: 4.1.7
Protocol Version: 10
Server Version: 5.0.16-nt
Reproduce code:
---------------
Ensure username and/or password are incorrect:
<?php $mysqli = new mysqli('localhost', 'root', 'root'); ?>
Expected result:
----------------
Incorrect login details error
Actual result:
--------------
Apache crashes. Windows error reporting shows:
szAppName : Apache.exe
szAppVer : 2.0.55.0
szModName : php5ts.dll
szModVer : 5.1.0.0
offset : 00008be4
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35388&edit=1