Skip to content

Commit

Permalink
fix possible zero deref
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Oct 28, 2014
1 parent e2951a1 commit 05fa1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/com_dotnet/com_com.c
Expand Up @@ -475,7 +475,7 @@ int php_com_do_invoke_byref(php_com_dotnet_object *obj, zend_internal_function *

/* assumption: that the active function (f) is the function we generated for the engine */
if (!f || f->arg_info == NULL) {
f = NULL;
return FAILURE;
}

hr = php_com_get_id_of_name(obj, f->function_name->val, f->function_name->len, &dispid TSRMLS_CC);
Expand Down

0 comments on commit 05fa1b8

Please sign in to comment.