From: Zeev Suraski Date: Tue, 11 Feb 2003 13:46:30 +0000 (+0000) Subject: Fix random crashes X-Git-Tag: RELEASE_0_5~1107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f983e13e4e1dfa6e32848412d8b3dd89c291dfe6;p=php Fix random crashes --- diff --git a/ext/rpc/rpc.c b/ext/rpc/rpc.c index 6955d8b545..a9e361c93f 100644 --- a/ext/rpc/rpc.c +++ b/ext/rpc/rpc.c @@ -396,6 +396,7 @@ static union _zend_function* rpc_get_method(zval *object, char *method, int meth zif->handler = ZEND_FN(rpc_call); zif->scope = intern->ce; zif->type = ZEND_INTERNAL_FUNCTION; + zif->fn_flags = ZEND_ACC_PUBLIC; /* add new method to the method table */ zend_ts_hash_add(&intern->function_table, method, method_len + 1, zif, sizeof(zend_function), &function);