Skip to content

Commit c3c5b2c

Browse files
committed
Fix another PHP 7.3 segfault
1 parent c5192b9 commit c3c5b2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oauth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ zend_string *soo_sign_rsa(php_so_object *soo, char *message, const oauth_sig_con
246246
/* TODO: add support for other algorithms instead of OPENSSL_ALGO_SHA1 */
247247

248248
ZVAL_STRING(&args[0], message);
249+
ZVAL_NULL(&args[1]);
249250
ZVAL_DUP(&args[2], &ctx->privatekey);
250251

251252
call_user_function_ex(EG(function_table), NULL, &func, &retval, 3, args, 0, NULL);

0 commit comments

Comments
 (0)