[Commits] [SCM] claws branch, master, updated. 3.18.0-234-ga62826429

wwp at claws-mail.org wwp at claws-mail.org
Mon Oct 4 10:44:18 CEST 2021


The branch, master has been updated
       via  a62826429fc4b5190dcb3669a9d5422889f31aea (commit)
      from  e66db4b2667173badcffbf652b850857f0d3d94f (commit)

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


- Log -----------------------------------------------------------------
commit a62826429fc4b5190dcb3669a9d5422889f31aea
Author: wwp <subscript at free.fr>
Date:   Mon Oct 4 10:42:58 2021 +0200

    Fix CID 1491157: use after free.

diff --git a/src/filtering.c b/src/filtering.c
index edd0f3a9c..9e1d98158 100644
--- a/src/filtering.c
+++ b/src/filtering.c
@@ -1077,8 +1077,8 @@ static void prefs_filtering_free(GSList * prefs_filtering)
  	while (prefs_filtering != NULL) {
  		FilteringProp * filtering = (FilteringProp *)
 			prefs_filtering->data;
- 		filteringprop_free(filtering);
  		prefs_filtering = g_slist_remove(prefs_filtering, filtering);
+ 		filteringprop_free(filtering);
  	}
 }
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list