Updated patch fixing issues found by coverity scan
This commit is contained in:
parent
bc9f66654f
commit
122e62dbbd
@ -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
|
diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c
|
||||||
index 912129b..5000928 100644
|
index 912129b..5000928 100644
|
||||||
--- a/src/irc/dcc/dcc-send.c
|
--- a/src/irc/dcc/dcc-send.c
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Modular text mode IRC client with Perl scripting
|
Summary: Modular text mode IRC client with Perl scripting
|
||||||
Name: irssi
|
Name: irssi
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
@ -83,6 +83,9 @@ chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 4 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.1.1-5
|
||||||
|
- Updated patch fixing issues found by coverity scan
|
||||||
|
|
||||||
* Tue Dec 4 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.1.1-4
|
* Tue Dec 4 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.1.1-4
|
||||||
- Fixed some issues found by coverity scan
|
- Fixed some issues found by coverity scan
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user