fix use of already destroyed hashtable with phpdbg
authorMichael Wallner <mike@php.net>
Mon, 25 Nov 2013 22:33:25 +0000 (23:33 +0100)
committerMichael Wallner <mike@php.net>
Mon, 25 Nov 2013 22:33:25 +0000 (23:33 +0100)
package.xml
php_raphf.c
php_raphf.h

index 5dbc3fbd593a285058b1b5c239569a808c01898e..ad63c1da4cbef1cfb9253cb24b3cfa4bcb884905 100644 (file)
@@ -19,9 +19,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2013-11-15</date>
+ <date>2013-11-25</date>
  <version>
  <version>
-  <release>1.0.3</release>
+  <release>1.0.4</release>
   <api>1.0.0</api>
  </version>
  <stability>
   <api>1.0.0</api>
  </version>
  <stability>
@@ -30,7 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
-* Added pecl/http-v2 tests
+* Fix re-use of destroyed hashtable with phpdbg
 ]]></notes>
  <contents>
   <dir name="/">
 ]]></notes>
  <contents>
   <dir name="/">
index 1f98145ff756a09e91d3c8cf69150a9f17be5d08..e2ff95c232c39aa239297651546db6e52a772894 100644 (file)
@@ -592,6 +592,7 @@ PHP_MINIT_FUNCTION(raphf)
 PHP_MSHUTDOWN_FUNCTION(raphf)
 {
        UNREGISTER_INI_ENTRIES();
 PHP_MSHUTDOWN_FUNCTION(raphf)
 {
        UNREGISTER_INI_ENTRIES();
+       php_persistent_handles_global_hash = NULL;
        return SUCCESS;
 }
 
        return SUCCESS;
 }
 
index 9590f4055001f793144e50379569dc6e6c5533ba..395814689f026e924cfb38140b5561d45a7c9706 100644 (file)
@@ -16,7 +16,7 @@
 extern zend_module_entry raphf_module_entry;
 #define phpext_raphf_ptr &raphf_module_entry
 
 extern zend_module_entry raphf_module_entry;
 #define phpext_raphf_ptr &raphf_module_entry
 
-#define PHP_RAPHF_VERSION "1.0.3"
+#define PHP_RAPHF_VERSION "1.0.4"
 
 #ifdef PHP_WIN32
 #      define PHP_RAPHF_API __declspec(dllexport)
 
 #ifdef PHP_WIN32
 #      define PHP_RAPHF_API __declspec(dllexport)