php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6431 PHP crash when query table with MSSQL some specific type
Submitted: 2000-08-30 06:43 UTC Modified: 2000-10-20 16:58 UTC
From: radekvl at iol dot cz Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.1pl2 OS: WINDOWS NT
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: radekvl at iol dot cz
New email:
PHP Version: OS:

 

 [2000-08-30 06:43 UTC] radekvl at iol dot cz
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-20 16:58 UTC] fmk@php.net
This is fixed in CVS. The fix vill be available in php 4.0.4.

- Frank
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC