diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2013-10-22 12:30:24 +0900 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2013-10-22 12:30:24 +0900 |
commit | 29e5a9659f1de3601de19364c817e8267d49fc2d (patch) | |
tree | 7e705979d127a758e6ba150c2e5c1af33aaaeebf /ext/pgsql | |
parent | fa11c7c1cc27fb4c5cb289ef788068d05caa4121 (diff) | |
parent | 6af3683a4c2eefc5bdeba0b495635be9827afea0 (diff) | |
download | php-git-29e5a9659f1de3601de19364c817e8267d49fc2d.tar.gz |
Merge branch 'PHP-5.5'
* PHP-5.5:
Fix Coverity issue reporting wrong sizeof()
Diffstat (limited to 'ext/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 35eb09e584..32d407af70 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2639,7 +2639,7 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, long result_type, Bucket *p; fci.param_count = 0; - fci.params = safe_emalloc(sizeof(zval*), ht->nNumOfElements, 0); + fci.params = safe_emalloc(sizeof(zval***), ht->nNumOfElements, 0); p = ht->pListHead; while (p != NULL) { fci.params[fci.param_count++] = (zval**)p->pData; |