Test: /ext/mysqli/tests/bug34810.phpt - Version 5.3.9-dev        

Bug #34810 mysqli::init() and others use wrong $this pointer without checks
Submitted: 2005-10-10 14:37:56 Modified: 2005-10-10 14:59:55
From: antony Assigned: tony2001
Status: Closed Package: Reproducible crash
PHP Version: 5.1.0RC1 OS: Linux

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
028+ ["stat"]=>
029+ string(135) "Uptime: 6016 Threads: 1 Questions: 2158 Slow queries: 0 Opens: 541 Flush tables: 1 Open tables: 24 Queries per second avg: 0.358"
037- object(mysqli)#%d (%d) {
039+ Segmentation fault
038- [%u|b%"affected_rows"]=>
039- NULL
040- [%u|b%"client_info"]=>
041- %unicode|string%(%d) "%s"
042- [%u|b%"client_version"]=>
043- int(%d)
044- [%u|b%"connect_errno"]=>
045- int(0)
046- [%u|b%"connect_error"]=>
047- NULL
048- [%u|b%"errno"]=>
049- int(0)
050- [%u|b%"error"]=>
051- %unicode|string%(0) ""
052- [%u|b%"field_count"]=>
053- NULL
054- [%u|b%"host_info"]=>
055- NULL
056- [%u|b%"info"]=>
057- NULL
058- [%u|b%"insert_id"]=>
059- NULL
060- [%u|b%"server_info"]=>
061- NULL
062- [%u|b%"server_version"]=>
063- NULL
064- [%u|b%"sqlstate"]=>
065- NULL
066- [%u|b%"protocol_version"]=>
067- NULL
068- [%u|b%"thread_id"]=>
069- NULL
070- [%u|b%"warning_count"]=>
071- NULL
072- }
073- Done