Skip to content

Commit 41db87c

Browse files
committed
php 7.1.0 up
1 parent fdf8b6e commit 41db87c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git2_php_util.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ int git2_callback_credentials_call(git_cred **cred, const char *url, const char
4747
ZVAL_STRING(&argv[1], username_from_url);
4848
ZVAL_LONG(&argv[2], allowed_types);
4949

50+
memset(&fci, 0, sizeof(fci));
5051
fci.size = sizeof(fci);
51-
fci.function_table = EG(function_table);
5252
fci.object = NULL;
5353
ZVAL_COPY_VALUE(&fci.function_name, &p->credentials_callback);
5454
fci.retval = &retval;
5555
fci.param_count = 3;
5656
fci.params = argv;
5757
fci.no_separation = 0;
58-
fci.symbol_table = NULL;
5958

6059
error = zend_call_function(&fci, &p->fci_cache);
6160

0 commit comments

Comments
 (0)