From cafbb03cdcdf1529618e8e21857541ae8c63e7bd Mon Sep 17 00:00:00 2001 From: tonypelle Date: Fri, 19 Aug 2022 10:18:56 -0700 Subject: [PATCH] Increase buffer for OAuth access token. Another fix for #3897. --- src/utils/oauth/oauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/oauth/oauth.c b/src/utils/oauth/oauth.c index 9d9572058..77104f068 100644 --- a/src/utils/oauth/oauth.c +++ b/src/utils/oauth/oauth.c @@ -331,7 +331,7 @@ static int new_token(oauth_t *auth) /* {{{ */ char assertion[1024]; char post_data[1024]; memory_t data; - char access_token[256]; + char access_token[GOOGLE_OAUTH_ACCESS_TOKEN_SIZE]; cdtime_t expires_in; cdtime_t now; char curl_errbuf[CURL_ERROR_SIZE]; -- 2.47.2