diff options
author | Antony Dovgal <tony2001@php.net> | 2006-12-25 22:27:24 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-12-25 22:27:24 +0000 |
commit | 9c2b6efb77637ec5cc35e6872d4ce4296021a2ea (patch) | |
tree | 616e6cdc0941834a96aa846377bd084ad322425b | |
parent | 6ac8ffdfea108696fe32b4738b779a00d2d4328c (diff) | |
download | php-git-9c2b6efb77637ec5cc35e6872d4ce4296021a2ea.tar.gz |
MFH
-rw-r--r-- | ext/xsl/xsltprocessor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index 4d708b11fa..3ffc5ed818 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -87,7 +87,7 @@ static char **php_xsl_xslt_make_params(HashTable *parht, int xpath_params TSRMLS int i = 0; parsize = (2 * zend_hash_num_elements(parht) + 1) * sizeof(char *); - params = (char **)emalloc(parsize); + params = (char **)safe_emalloc((2 * zend_hash_num_elements(parht) + 1), sizeof(char *), 0); memset((char *)params, 0, parsize); for (zend_hash_internal_pointer_reset(parht); |