|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27888 php.exe Application error when calling sybase_free_result() function
Submitted: 2004-04-06 10:50 UTC Modified: 2004-04-06 11:01 UTC
From: eduard at seua dot am Assigned:
Status: Not a bug Package: Sybase-ct (ctlib) related
PHP Version: 4.3.5 OS: Windows XP
Private report: No CVE-ID: None
 [2004-04-06 10:50 UTC] eduard at seua dot am
When calling sybase_free_result() "php.exe - Application Error" window appeared with the "The memory could not be "written"" message.

This is happen only when calling sybase_free_result() function.

OS: Windows XP (Version 5.1, Service Pack 1)
PHP Ver: 4.3.5 
Web Server: IIS (Version. 5.1)
PHP running in CGI mode
Sybase: Sybase ASE 12.5 (Sybase running on other Windows NT machine)

Reproduce code:

$syb_con = sybase_connect("LOCAL_SYBASE", "sa", "");
sybase_select_db ("master", $syb_con);
$res = sybase_query("select * from spt_jdbc_conversion", $syb_con) or die(sybase_get_last_message());
while ($line = sybase_fetch_assoc($res))
	$all[] = $line;

Expected result:
Associated result memory will be freed  without php.exe error.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-06 11:01 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #27828
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Dec 03 06:03:43 2021 UTC