From 122e62dbbdd2649ecaaf416f624dead929daf1f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 4 Dec 2018 21:05:38 +0100 Subject: [PATCH] Updated patch fixing issues found by coverity scan --- irssi-1.1.1-coverity-scan-fixes.patch | 13 ------------- irssi.spec | 5 ++++- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/irssi-1.1.1-coverity-scan-fixes.patch b/irssi-1.1.1-coverity-scan-fixes.patch index 7dcecac..fce3492 100644 --- a/irssi-1.1.1-coverity-scan-fixes.patch +++ b/irssi-1.1.1-coverity-scan-fixes.patch @@ -1,16 +1,3 @@ -diff --git a/src/irc/core/irc-expandos.c b/src/irc/core/irc-expandos.c -index 62ef577..27f51ca 100644 ---- a/src/irc/core/irc-expandos.c -+++ b/src/irc/core/irc-expandos.c -@@ -138,7 +138,7 @@ static char *expando_cumode_space(SERVER_REC *server, void *item, int *free_ret) - return ""; - - ret = expando_cumode(server, item, free_ret); -- return *ret == '\0' ? " " : ret; -+ return *ret == '\0' ? g_free(ret) , " " : ret; - } - - static void event_join(IRC_SERVER_REC *server, const char *data, diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c index 912129b..5000928 100644 --- a/src/irc/dcc/dcc-send.c diff --git a/irssi.spec b/irssi.spec index fefda8b..11c9f30 100644 --- a/irssi.spec +++ b/irssi.spec @@ -3,7 +3,7 @@ Summary: Modular text mode IRC client with Perl scripting Name: irssi Version: 1.1.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Applications/Communications @@ -83,6 +83,9 @@ chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch} %changelog +* Tue Dec 4 2018 Jaroslav Škarvada - 1.1.1-5 +- Updated patch fixing issues found by coverity scan + * Tue Dec 4 2018 Jaroslav Škarvada - 1.1.1-4 - Fixed some issues found by coverity scan