diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2006-12-25 21:41:04 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2006-12-25 21:41:04 +0000 |
| commit | 7efb0a14f435e4ffb7ffc8f502ca07ec1d6872a1 (patch) | |
| tree | 10139a1c36124c4d47360d48abea996b624979de /ext/interbase | |
| parent | 807a0966a9dcf37614100842d313ee96f5977391 (diff) | |
| download | php-git-7efb0a14f435e4ffb7ffc8f502ca07ec1d6872a1.tar.gz | |
Use safe_emalloc()
Diffstat (limited to 'ext/interbase')
| -rw-r--r-- | ext/interbase/ibase_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/interbase/ibase_query.c b/ext/interbase/ibase_query.c index 2db8dd0c9f..38eccfea8d 100644 --- a/ext/interbase/ibase_query.c +++ b/ext/interbase/ibase_query.c @@ -1146,7 +1146,7 @@ PHP_FUNCTION(ibase_query) break; } } else if (bind_n > 0) { - bind_args = (zval ***) emalloc(sizeof(zval **) * ZEND_NUM_ARGS()); + bind_args = (zval ***) safe_emalloc(sizeof(zval **), ZEND_NUM_ARGS(), 0); if (FAILURE == zend_get_parameters_array_ex(ZEND_NUM_ARGS(), bind_args)) { break; |
