Skip to content
Browse files

Fixed uninitialized variable issue that would pop up under ZTS.

  • Loading branch information...
1 parent 290dc9e commit 1cbc0cf3d809978e539f60e220ea2917e3ff9f53 @derickr committed May 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 xdebug_handler_dbgp.c
View
1 xdebug_handler_dbgp.c
@@ -2002,6 +2002,7 @@ static int attach_context_vars(xdebug_xml_node *node, xdebug_var_export_options
if (context_id == 1) {
/* add super globals */
XG(active_symbol_table) = &EG(symbol_table);
+ XG(active_execute_data) = NULL;
add_variable_node(node, "_COOKIE", sizeof("_COOKIE"), 1, 1, 0, options TSRMLS_CC);
add_variable_node(node, "_ENV", sizeof("_ENV"), 1, 1, 0, options TSRMLS_CC);
add_variable_node(node, "_FILES", sizeof("_FILES"), 1, 1, 0, options TSRMLS_CC);

0 comments on commit 1cbc0cf

Please sign in to comment.
Something went wrong with that request. Please try again.