From: Dmitry Stogov Date: Mon, 17 Jun 2019 11:53:44 +0000 (+0300) Subject: Avoid uninitilized field access X-Git-Tag: php-7.4.0alpha2~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eda916cc9880201944bd13fb0f517ccad248f8e0;p=php Avoid uninitilized field access --- diff --git a/ext/ffi/ffi.c b/ext/ffi/ffi.c index 6293964d80..1b016c00a6 100644 --- a/ext/ffi/ffi.c +++ b/ext/ffi/ffi.c @@ -5806,6 +5806,7 @@ void zend_ffi_make_func_type(zend_ffi_dcl *dcl, HashTable *args, zend_ffi_dcl *n zend_hash_destroy(args); pefree(args, FFI_G(persistent)); } + type->func.args = NULL; _zend_ffi_type_dtor(type); zend_ffi_parser_error("unsupported calling convention line %d", FFI_G(line)); break;