[Commits] [SCM] claws branch, master, updated. 3.15.0-164-g9d25cc9

mones at claws-mail.org mones at claws-mail.org
Mon Oct 30 11:01:03 CET 2017


The branch, master has been updated
       via  9d25cc995df606659c73a48149c89808ed319ada (commit)
      from  5a3c83b91c814db749d1a23c531a559ba5b04701 (commit)

Summary of changes:
 src/compose.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 9d25cc995df606659c73a48149c89808ed319ada
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Oct 30 11:00:17 2017 +0100

    Fix CID 1420437 (OVERFLOW_BEFORE_WIDEN)

diff --git a/src/compose.c b/src/compose.c
index bfa2ac8..e60d178 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -3678,7 +3678,7 @@ static ComposeInsertResult compose_insert_file(Compose *compose, const gchar *fi
 
 		/* ask user for confirmation if the file is large */
 		if (prefs_common.warn_large_insert_size < 0 ||
-		    size > (prefs_common.warn_large_insert_size * 1024)) {
+		    size > ((goffset) prefs_common.warn_large_insert_size * 1024)) {
 			AlertValue aval;
 			gchar *msg;
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list