Bug #12736: ? just found :)
| From: | ice_croft at mail dot ru | Date: | Tue, 14 Aug 2001 07:46:42 +0000 |
| Subject: | Bug #12736: ? just found :) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63136@lists.php.net to get a copy of this message | ||
From: ice_croft@mail.ru
Operating system: windows 98
PHP version: 4.0.6
PHP Bug Type: COM related
Bug description: ? just found :)
hi there. :)
c:\apache\htdocs\bars.php
<?php
$ob = new COM ("pfAX.obj5");
$rs = $ob->getData(); // this method returns adodb recordset
session_register("rs"); // track_vars and
// register_globals are on
?>
c:\apache\htdocs\rs.php
<?php
$num_columns = $rs->Fields->Count(); //trying to call to
//the recordset
?>
So, when I open rs.php, php.exe crashes with (in russian:):
Ïðîãðàììà PHP âûçâàëà ñáîé ïðè îáðàùåíèè ê ñòðàíèöå
ïàìÿòè
â ìîäóëå PHP4TS.DLL ïî àäðåñó 0167:1008519b.
Ðåãèñòðû:
EAX=00000000 CS=0167 EIP=1008519b EFLGS=00010246
EBX=007a5750 SS=016f ESP=0063f810 EBP=0065984c
ECX=ffffffff DS=016f ESI=00000000 FS=196f
EDX=00000000 ES=016f EDI=007a6e80 GS=0000
Áàéòû ïî àäðåñó CS:EIP:
8b 4e 08 51 57 e8 9b ef ff ff 8b 5c 24 2c 66 c7
Ñîäåðæèìîå ñòåêà:
00000001 007a541c 0000000c 00000001 0065983c 00761040 006597fc 007a57c8
100b2879 00000000 007a5ae0 007a5750 00000001 00761040 0065984c 00000000
--
Edit bug report at: http://bugs.php.net/?id=12736&edit=1