Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed uninitialized zval.type (Yoram)

  • Loading branch information...
commit e1410b5a70543856de3978603b41fbf2ca5d330c 1 parent dc9f0e7
@dstogov dstogov authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  win32/registry.c
View
1  win32/registry.c
@@ -91,6 +91,7 @@ static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_
INIT_PZVAL(data);
Z_STRVAL_P(data) = zend_strndup(value, value_len-1);
Z_STRLEN_P(data) = value_len-1;
+ Z_TYPE_P(data) = IS_STRING;
zend_hash_update(ht, name, name_len+1, &data, sizeof(zval*), NULL);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.