|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3532 Crash in NTDLL due to a parse error
Submitted: 2000-02-18 14:43 UTC Modified: 2002-10-01 13:52 UTC
From: djonexx at wuzwuz dot nuigalway dot ie Assigned:
Status: Wont fix Package: Reproducible Crash
PHP Version: 3.0.14 OS: Win NT 4.0, SP6a; Apache 1.3.6 o
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: djonexx at wuzwuz dot nuigalway dot ie
New email:
PHP Version: OS:


 [2000-02-18 14:43 UTC] djonexx at wuzwuz dot nuigalway dot ie

   $queryString = "SELECT * FROM MUNTI 

   $dbConnect = odbc_connect("MUNTIDB", "", "", SQL_CUR_USE_ODBC);
   if($dbConnect) {
	$muntidb = odbc_exec($dbConnect, $queryString);
	while($row = odbc_fetch_row($muntidb)) {
		$idZona = odbc_result($muntidb, "IN_HARTA");
				    WHERE ZONEDEF.ID_ZONA = $idZona";
		$zonadb = odbc_exec($dbConnect, $queryListString);
		print "<area shape=\"poly\" coords=\"";
		$bVirgula = 0;
		$fx = 0; 
		$fy = 0;
		while($row2 = odbc_fetch_row($zonadb)) {
			$x = odbc_result($zonadb, 1);
			$y = odbc_result($zonadb, 2);
			if($bVirgula) {
			    print ","; $fx = $x; $fy = $y;
			print  "$x,$y";
			$bVirgula = 1;	
		print "$fx,$fy";
		print "\" href=\"javascript:showMountain($idZona)\" target=\"tr_navigator\" title=\"" . odbc_result($muntidb, "NAME") ."\">";

Seems like the missing closing bracket for the if($bVirgula) block is causing an Access Violation error in the NTDLL.DLL at adress 0x77F6754B. The call stack was
NTDLL.DLL 0x77F6754B
PHP.EXE 0x0041E652
PHP.EXE 0x00436774


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 13:52 UTC]
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 11:01:29 2024 UTC