php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6056 mSQL_close() potential fix
Submitted: 2000-08-10 00:48 UTC Modified: 2000-08-10 02:02 UTC
From: nick at loman dot net Assigned:
Status: Closed Package: mSQL related
PHP Version: 4.0 Latest CVS (10/08/2000) OS: Red Hat Linux 6.0
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nick at loman dot net
New email:
PHP Version: OS:

 

 [2000-08-10 00:48 UTC] nick at loman dot net
I experienced the same bug as reported in #5677 and #5986

I have potentially fixed the program by modifying the file ext/php_msql.c

line #337:
   ZEND_REGISTER_RESOURCE(return_value, (void *) msql, msql_globals.le_plink);

modified to:
   ZEND_REGISTER_RESOURCE(return_value, (void *) msql, msql_globals.le_link);

Thanks for your attention.

Nick.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 02:02 UTC] thies@php.net
thanx for the patch!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC