[Commits] [SCM] claws branch, quota-info, updated. 4.3.1-47-gb100711aa

miras at claws-mail.org miras at claws-mail.org
Sun Mar 9 23:46:38 UTC 2025


The branch, quota-info has been updated
       via  b100711aa7c129489c474c0caea824e76478e4ab (commit)
      from  97a5fdbb34580d976b36c074ae3bd8349394d0d9 (commit)

Summary of changes:
 src/etpan/imap-thread.c | 3 +++
 1 file changed, 3 insertions(+)


- Log -----------------------------------------------------------------
commit b100711aa7c129489c474c0caea824e76478e4ab
Author: Michael Rasmussen <mir at datanom.net>
Date:   Mon Mar 10 00:46:28 2025 +0100

    Fix possible null pointer
    
    Signed-off-by: Michael Rasmussen <mir at datanom.net>

diff --git a/src/etpan/imap-thread.c b/src/etpan/imap-thread.c
index 904d7f047..e53a6a2bf 100644
--- a/src/etpan/imap-thread.c
+++ b/src/etpan/imap-thread.c
@@ -3432,6 +3432,9 @@ int imap_has_quota_extension(Folder* folder) {
 		return 0;
 
 	mailimap* session = get_imap(folder);
+	if (session == NULL)
+		return 0;
+
 	return mailimap_has_extension(session, "QUOTA");
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list