Bug #12339: Seg Fault in PHP under 2k /w ODBC and Globals (apparently)...

From: Date: Tue, 24 Jul 2001 14:20:04 +0000
Subject: Bug #12339: Seg Fault in PHP under 2k /w ODBC and Globals (apparently)...
Groups: php.dev 
Request: Send a blank email to php-dev+get-60858@lists.php.net to get a copy of this message
From: nlange@usb.com Operating system: Win2k PHP version: 4.0.6 PHP Bug Type: ODBC related Bug description: Seg Fault in PHP under 2k /w ODBC and Globals (apparently)... All right, this is a rough one to report as I only have vagure ideas as to what's going on ... but it really sucks either way. the function call... report($queryusa,$uasusa_trans,$uasusa_style,"User does not have access to any systems",sizeof($uasusa_trans)*2,0,"System Access"); the function function report($query, $tarray,$sarray, $empty_msg,$total,$is_last = 0, $zhead="") The crash the overwrite (I'm convinced it's an overwrite because EIP is 0x00d72f10 and memory is the same value, and a rudimentary jump (albeit confusedly)into msdev vdebug showed something similar) happens at the call to odbc prepare... $sh = odbc_prepare($DBH,$query) or die (odbc_errormsg().$query); the odbc_connect looks like $DBH = odbc_connect($GLOBALS['DSN'],$GLOBALS['DSN_USER'],$GLOBALS['DSN_PW']) or die (odbc_errormsg()); as it stands now I am under a deadline so I can't dig too deep (I have to find a workaround) ,but I'll follow up with any supplemental material I can.. oh, ODBC Driver is Tandem NONStop.. -- Edit bug report at: http://bugs.php.net/?id=12339&edit=1

« previous php.dev (#60858) next »