summaryrefslogtreecommitdiff
path: root/net-irc/weechat/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /net-irc/weechat/files
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'net-irc/weechat/files')
-rw-r--r--net-irc/weechat/files/2.7-CVE-2020-8955.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/net-irc/weechat/files/2.7-CVE-2020-8955.patch b/net-irc/weechat/files/2.7-CVE-2020-8955.patch
deleted file mode 100644
index 0bad821f9130..000000000000
--- a/net-irc/weechat/files/2.7-CVE-2020-8955.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 6f4f147d8e86adf9ad34a8ffd7e7f1f23a7e74da Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= <flashcode@flashtux.org>
-Date: Sat, 8 Feb 2020 20:24:50 +0100
-Subject: [PATCH] irc: fix crash when receiving a malformed message 324
- (channel mode)
-
-Thanks to Stuart Nevans Locke for reporting the issue.
----
- ChangeLog.adoc | 1 +
- src/plugins/irc/irc-mode.c | 21 ++++++++++++---------
- 2 files changed, 13 insertions(+), 9 deletions(-)
-
-diff --git a/src/plugins/irc/irc-mode.c b/src/plugins/irc/irc-mode.c
-index 2237a344b..e79f0deb7 100644
---- a/src/plugins/irc/irc-mode.c
-+++ b/src/plugins/irc/irc-mode.c
-@@ -224,17 +224,20 @@ irc_mode_channel_update (struct t_irc_server *server,
- current_arg++;
- if (pos[0] == chanmode)
- {
-- chanmode_found = 1;
-- if (set_flag == '+')
-+ if (!chanmode_found)
- {
-- str_mode[0] = pos[0];
-- str_mode[1] = '\0';
-- strcat (new_modes, str_mode);
-- if (argument)
-+ chanmode_found = 1;
-+ if (set_flag == '+')
- {
-- if (new_args[0])
-- strcat (new_args, " ");
-- strcat (new_args, argument);
-+ str_mode[0] = pos[0];
-+ str_mode[1] = '\0';
-+ strcat (new_modes, str_mode);
-+ if (argument)
-+ {
-+ if (new_args[0])
-+ strcat (new_args, " ");
-+ strcat (new_args, argument);
-+ }
- }
- }
- }