|  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
 [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.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 02:02 UTC]
thanx for the patch!
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 00:03:49 2021 UTC