[xdebug-dev] svn: /xdebug/trunk/ xdebug.c

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sun, 10 Jan 2010 20:12:57 +0000

derick Sun, 10 Jan 2010 20:12:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=3207

Log:
- Possible fix for bug #507/#517: Crashes because of uninitalised header
  globals.

Changed paths:
    U xdebug/trunk/xdebug.c

Modified: xdebug/trunk/xdebug.c
===================================================================
--- xdebug/trunk/xdebug.c 2010-01-06 18:02:33 UTC (rev 3206)
+++ xdebug/trunk/xdebug.c 2010-01-10 20:12:57 UTC (rev 3207)
@@ -1119,6 +1119,7 @@

         /* Clean up collected headers */
         xdebug_llist_destroy(XG(headers), NULL);
+ XG(headers) = NULL;

         return SUCCESS;
 }
Received on Sun Jan 10 2010 - 20:12:58 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST