From: Dmitry Stogov Date: Tue, 17 Nov 2020 13:23:30 +0000 (+0300) Subject: Fixed false pasitive ASAN NULL pointer dereference warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1523733bc435a6ea835978433766004ef30ec86a;p=php Fixed false pasitive ASAN NULL pointer dereference warning --- diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index eea6b5c7ba..6f9e978a6d 100644 --- a/ext/opcache/jit/zend_jit.c +++ b/ext/opcache/jit/zend_jit.c @@ -448,7 +448,7 @@ static void *dasm_link_and_encode(dasm_State **dasm_state, name, (op_array && op_array->filename) ? ZSTR_VAL(op_array->filename) : NULL, op_array, - &ssa->cfg, + ssa ? &ssa->cfg : NULL, entry, size); }