|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32010 memleaks in mssql_fetch_batch()
Submitted: 2005-02-17 15:07 UTC Modified: 2005-08-08 23:32 UTC
From: tony2001 at phpclub dot net Assigned: fmk (profile)
Status: Closed Package: MSSQL related
PHP Version: 5CVS-2005-02-17 OS: Linux
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: tony2001 at phpclub dot net
New email:
PHP Version: OS:


 [2005-02-17 15:07 UTC] tony2001 at phpclub dot net
mssql_fetch_batch() leaks in several places.

Reproduce code:
$c = mssql_connect($host, $user, $passwd);

$r = mssql_query("SELECT * FROM test_table");


echo "Done\n";

Expected result:

Actual result:
/home/dev/php-src/ext/mssql/php_mssql.c(1065) :  Freeing 0x082C0BE4 (3 bytes), script=/www/index.php
/home/dev/php-src/ext/mssql/php_mssql.c(1052) :  Freeing 0x082C0BAC (3 bytes), script=/www/index.php


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-08 18:13 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-08-08 23:32 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 20:01:30 2024 UTC