mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Fix a crash if dirproxy recieves an ACTION command without a parameter.
- Bump PORTREVISION Approved by: portmgr (erwin) Security: http://www.vuxml.org/freebsd/a1ef3fc0-8ad0-11dc-9490-0016179b2dd5.html
This commit is contained in:
parent
5d5ca9e2bb
commit
d0e7cdc528
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202521
2 changed files with 12 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= dircproxy
|
PORTNAME= dircproxy
|
||||||
PORTVERSION= 1.0.5
|
PORTVERSION= 1.0.5
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= irc
|
CATEGORIES= irc
|
||||||
MASTER_SITES= http://www.securiweb.net/pub/oss/dircproxy/1.0/ \
|
MASTER_SITES= http://www.securiweb.net/pub/oss/dircproxy/1.0/ \
|
||||||
ftp://ftp.netsplit.com/pub/dircproxy/stable/
|
ftp://ftp.netsplit.com/pub/dircproxy/stable/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- src/irc_server.c.orig 2007-10-02 13:27:29.000000000 +0200
|
--- src/irc_server.c.orig 2002-01-31 15:56:37.000000000 +0100
|
||||||
+++ src/irc_server.c 2007-10-02 13:28:07.000000000 +0200
|
+++ src/irc_server.c 2007-11-05 12:35:57.000000000 +0100
|
||||||
@@ -700,7 +700,7 @@
|
@@ -700,7 +700,7 @@
|
||||||
free(s);
|
free(s);
|
||||||
|
|
||||||
|
@ -18,3 +18,12 @@
|
||||||
squelch = 1;
|
squelch = 1;
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
@@ -1076,7 +1076,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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue