Skip to content

Commit

Permalink
Fixed uninitialized variable issue that would pop up under ZTS.
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed May 6, 2012
1 parent 290dc9e commit 1cbc0cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xdebug_handler_dbgp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1cbc0cf

Please sign in to comment.