PHP 4.0 Bug #6056: mSQL_close() potential fix
| From: | nick at loman dot net | Date: | Thu, 10 Aug 2000 04:48:50 +0000 |
| Subject: | PHP 4.0 Bug #6056: mSQL_close() potential fix | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28293@lists.php.net to get a copy of this message | ||
From: nick@loman.net
Operating system: Red Hat Linux 6.0
PHP version: 4.0 Latest CVS (10/08/2000)
PHP Bug Type: mSQL related
Bug description: mSQL_close() potential fix
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.