php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11385 While with For loop inside, crashes PHP
Submitted: 2001-06-10 13:06 UTC Modified: 2001-07-22 13:07 UTC
From: nis at ubernissen dot dk Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.5 OS: Win98.2 and Compaq Alpha Tru64
Private report: No CVE-ID: None
 [2001-06-10 13:06 UTC] nis at ubernissen dot dk
Tried this While with For loop inside on many diff. installations now, and allways with the same result.
PHP crashes and don't leave any messages anywhere.
There are other ways to deal with this probelm, but anyway...
It is not the use of ODBC, cause I tried with other function combinations to.
while( odbc_fetch_row( $db_cur)){
    for( $x=0; $x<$cur_length; $x++){
    $tmp2 = $odbc_result( $db_cur, $x);
  }
}

I don't have access to neither the WIn98.2 or Compaq Alpha Tru64's system, and can't get a backtrace.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-10 14:05 UTC] sniper@php.net
Please include a working script that can be used to reproduce this. Not just a part of it..
Also make it a self contained function ie. one that
doesn't use any databases, etc. IF it isn't the problem..

--Jani


 [2001-07-22 13:07 UTC] andy@php.net
no feedback after 35+ days.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 07:01:31 2024 UTC