-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pointcut on certain internal functions causing "could not obtain parameters" #99
Comments
yogeshpandey009
changed the title
Pointcut on certain system functions causing "could not obtain parameters"
Pointcut on certain internal functions causing "could not obtain parameters"
Jul 6, 2016
Workaround: comment out zval_ptr_dtor(&obj->value) insde aop.c:get_aopJoinpoint() if (Z_REFCOUNT_P(aop_object) == 1) {
AopJoinpoint_object *obj = (AopJoinpoint_object *)zend_object_store_get_object(aop_object TSRMLS_CC);
if (obj->value) {
zval_ptr_dtor(&obj->value); // is causing ((zval**)ex->function_state.arguments)[-1] value corruption
} @juliens : Could you please share some proper fix for this issue. |
Commenting out this line doesn't fix the issue.
The problem seems to be elsewhere. |
Oh sorry I forgot to mention. This fixes "before" pointcut for multiple executions of array_push()
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same error for mysql_query()
$ php -v
PHP 5.4.14 (cli) (built: Jun 27 2016 14:02:51) (DEBUG)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
The text was updated successfully, but these errors were encountered: