summaryrefslogtreecommitdiff
path: root/ext/mysqli
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-12-31 19:45:46 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-12-31 19:45:46 +0000
commitb658a2687450487a359d5a4bfd227c3d9d2c878d (patch)
tree6df1c4d11a93d2b63b8286bfb309ec7dea8f97aa /ext/mysqli
parent87c2ba22f1181b98278d10d957c6ea65d83eaeca (diff)
downloadphp-git-b658a2687450487a359d5a4bfd227c3d9d2c878d.tar.gz
emalloc() -> safe_emalloc()
Diffstat (limited to 'ext/mysqli')
-rw-r--r--ext/mysqli/mysqli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index 9138c07b01..a60246aa6e 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -630,7 +630,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags
Bucket *p;
fci.param_count = 0;
- fci.params = emalloc(sizeof(zval*) * ht->nNumOfElements);
+ fci.params = safe_emalloc(sizeof(zval*), ht->nNumOfElements, 0);
p = ht->pListHead;
while (p != NULL) {
fci.params[fci.param_count++] = (zval**)p->pData;