[Commits] [SCM] claws branch, master, updated. 3.17.3-14-gaca15d9

ticho at claws-mail.org ticho at claws-mail.org
Sat Dec 29 21:14:51 CET 2018


The branch, master has been updated
       via  aca15d9a473bdfdeef4a572b112ff3679d745247 (commit)
      from  8df6eac2dd029c47a162a6ea40d5321cbd6f4a58 (commit)

Summary of changes:
 src/plugins/rssyl/rssyl_subscribe.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit aca15d9a473bdfdeef4a572b112ff3679d745247
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sat Dec 29 21:14:25 2018 +0100

    Fix use after free in rare code path in rssyl_subscribe()

diff --git a/src/plugins/rssyl/rssyl_subscribe.c b/src/plugins/rssyl/rssyl_subscribe.c
index 1af78c5..807bafb 100644
--- a/src/plugins/rssyl/rssyl_subscribe.c
+++ b/src/plugins/rssyl/rssyl_subscribe.c
@@ -156,11 +156,10 @@ FolderItem *rssyl_subscribe(FolderItem *parent, const gchar *url,
 	if (!new_item) {
 		if (verbose & RSSYL_SHOW_ERRORS)
 			alertpanel_error(_("Couldn't create folder for new feed '%s'."),
-					myurl);
+					feed_get_url(ctx->feed));
 		feed_free(ctx->feed);
 		g_free(ctx->error);
 		g_free(ctx); 
-		g_free(myurl);
 		return NULL;
 	}
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list