From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/dircproxy/1.0.5-CVE-2007-5226.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main/dircproxy/1.0.5-CVE-2007-5226.patch (limited to 'main/dircproxy/1.0.5-CVE-2007-5226.patch') diff --git a/main/dircproxy/1.0.5-CVE-2007-5226.patch b/main/dircproxy/1.0.5-CVE-2007-5226.patch new file mode 100644 index 00000000..1d999422 --- /dev/null +++ b/main/dircproxy/1.0.5-CVE-2007-5226.patch @@ -0,0 +1,12 @@ +diff -u dircproxy-1.0.5/src/irc_server.c dircproxy-1.0.5/src/irc_server.c +--- dircproxy-1.0.5/src/irc_server.c ++++ dircproxy-1.0.5/src/irc_server.c +@@ -1078,7 +1078,7 @@ + + if (!strcmp(cmsg.cmd, "ACTION")) { + if (p->conn_class->log_events & IRC_LOG_ACTION) +- irclog_ctcp(p, msg.params[0], msg.src.orig, "%s", cmsg.orig); ++ irclog_ctcp(p, (msg.params != NULL ) ? msg.params[0]: "none", msg.src.orig, "%s", cmsg.orig); + + } else if (!strcmp(cmsg.cmd, "DCC") + && p->conn_class->dcc_proxy_incoming) { -- cgit v1.2.3