[Commits] [SCM] claws branch, master, updated. 4.3.1-37-g9625310e5
miras at claws-mail.org
miras at claws-mail.org
Sat Mar 8 10:08:09 UTC 2025
The branch, master has been updated
via 9625310e58efa172e7147eb2de12319220876c2f (commit)
from 4ba3e116970bb1836090771b6ff8b5c0af98e343 (commit)
Summary of changes:
src/oauth2.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 9625310e58efa172e7147eb2de12319220876c2f
Author: Michael Rasmussen <mir at datanom.net>
Date: Sat Mar 8 11:03:49 2025 +0100
Fix CID 1644197. False positive
Signed-off-by: Michael Rasmussen <mir at datanom.net>
diff --git a/src/oauth2.c b/src/oauth2.c
index 79883d4a2..41c5fed3e 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -687,8 +687,9 @@ gint oauth2_check_passwds (PrefsAccount *ac_prefs)
passwd_store_write_config();
log_message(LOG_PROTOCOL, _("OAuth2 access and refresh token updated\n"));
}
-
- memset(OAUTH2Data->refresh_token, 0, strlen(OAUTH2Data->refresh_token));
+ if (OAUTH2Data->refresh_token) {
+ memset(OAUTH2Data->refresh_token, 0, strlen(OAUTH2Data->refresh_token));
+ }
g_free(OAUTH2Data->refresh_token);
g_free(OAUTH2Data);
g_free(uid);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list