php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10854 Crash on script timeout with ODBC functions
Submitted: 2001-05-14 11:59 UTC Modified: 2001-06-18 09:45 UTC
From: Vladimir dot Michl at seznam dot cz Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.5 OS: any WINDOWS
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: Vladimir dot Michl at seznam dot cz
New email:
PHP Version: OS:

 

 [2001-05-14 11:59 UTC] Vladimir dot Michl at seznam dot cz
There is script. Replace sdczal in odbc_connect with any ODBC alias and PLC_CLHPRESS with any table from alias.

<?php

$db = odbc_connect("sdczal", "", "");

while(1){
$res = odbc_exec($db, "select * from PLC_CLHPRESS;");

};

odbc_close($db);
?>

There is related directives from php.ini:
max_execution_time = 10     ; Maximum execution time of each script, in seconds
memory_limit = 50M      ; Maximum amount of memory a script may consume (8MB)

When execution time exceed PHP crash with Access violation.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-30 09:04 UTC] kalowsky@php.net
are you using IIS with the ISAPI plugin?  

On a system using Apache 1.3.19/Win32, PHP 4.0.5, and MSSQL2000 it produces a fatal PHP error, but no crash (thanks to Matt White for testing this).
 [2001-06-18 09:45 UTC] kalowsky@php.net
no feedback from user.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 21:01:29 2025 UTC