summaryrefslogtreecommitdiff
path: root/net/opendchub/files/patch-telnet_chat_fix
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-02-13 11:24:54 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-02-13 11:24:54 +0000
commit1bca823dd30e7e6389f3b40b31534bc8c7f81061 (patch)
tree340eb2294a215e8707f366be24932ab1783ed00f /net/opendchub/files/patch-telnet_chat_fix
parent- update to 7.2.6 (bugfixrelease) (diff)
- Fix buffer overflow [1]
- Fix telnet vulnerability [2] - Unbreak and unforbid - Bump PORTREVISION VuXML: cdf14b68-3ff9-11d9-8405-00065be4b5b6 [1] Obtained from: Gentoo CVS [1] project's patch tracker at sf.net [2]
Diffstat (limited to 'net/opendchub/files/patch-telnet_chat_fix')
-rw-r--r--net/opendchub/files/patch-telnet_chat_fix11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/opendchub/files/patch-telnet_chat_fix b/net/opendchub/files/patch-telnet_chat_fix
new file mode 100644
index 000000000000..79ade0c6ef26
--- /dev/null
+++ b/net/opendchub/files/patch-telnet_chat_fix
@@ -0,0 +1,11 @@
+--- src/main.c.orig Sun Feb 13 16:54:21 2005
++++ src/main.c Sun Feb 13 16:55:31 2005
+@@ -1056,7 +1056,7 @@
+ /* The chat command, starts with <nick> */
+ else if(*temp == '<')
+ {
+- if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED)) == 0)
++ if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED | NON_LOGGED_ADM)) == 0)
+ chat(temp, user);
+ }
+