freebsd-ports/net-p2p/opendchub/files/patch-telnet_chat_fix
Alexey Dokuchaev 1bca823dd3 - 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]
2005-02-13 11:24:54 +00:00

11 lines
406 B
Text

--- 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);
}