PHP 4.0 Bug #6431: PHP crash when query table with MSSQL some specific type
| From: | radekvl at iol dot cz | Date: | Wed, 30 Aug 2000 10:43:11 +0000 |
| Subject: | PHP 4.0 Bug #6431: PHP crash when query table with MSSQL some specific type | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31218@lists.php.net to get a copy of this message | ||
From: radekvl@iol.cz
Operating system: WINDOWS NT
PHP version: 4.0.1pl2
PHP Bug Type: MSSQL related
Bug description: PHP crash when query table with MSSQL some specific type
Any query to table with nonstandard SQL type(eg. uniqueidentifier, smalldatetime, ...) cause GPF
Call stack:
MSVCRT! 7800d1c6()
MSVCRT! 7800cc1c()
PHP4TS! 1007ecbf()
006b8a10()
006b83e0()
006b83e0()
006b83e0()
Registers:
EAX = 39336378 EBX = 006BA00C
ECX = 006BA00C EDX = 0000003F
ESI = 006B99BC EDI = 00000005
EIP = 7800D1C6 ESP = 0012FE2C
EBP = 0012FE48 EFL = 00000206 CS = 001B
DS = 0023 ES = 0023 SS = 0023 FS = 0038
GS = 0000 OV=0 UP=0 EI=1 PL=0 ZR=0 AC=0
PE=1 CY=0
CTRL = 027F STAT = 0020 TAGS = FFFF
EIP = 7800256A CS = 001B DS = 0023
7800D1A2 jne 7800D1B2
7800D1A4 mov ebx,80000000h
7800D1A9 mov ecx,edx
7800D1AB shr ebx,cl
7800D1AD mov ecx,dword ptr [ebp+8]
7800D1B0 or dword ptr [ecx],ebx
7800D1B2 mov ebx,80000000h
7800D1B7 mov ecx,edx
7800D1B9 shr ebx,cl
7800D1BB lea eax,[eax+edi*4+44h]
7800D1BF or dword ptr [eax],ebx
7800D1C1 mov eax,dword ptr [ebp-4]
7800D1C4 mov dword ptr [esi],eax
------------------------------------------------------
7800D1C6 mov dword ptr [eax+esi-4],eax
------------------------------------------------------
7800D1CA mov eax,dword ptr [ebp-10h]
7800D1CD dec dword ptr [eax]
7800D1CF jne 7800D2CC
7800D1D5 mov eax,[7803B758]
7800D1DA test eax,eax
7800D1DC je 7800D2BE