diff options
author | vanilla <vanilla@FreeBSD.org> | 2007-11-12 06:33:05 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2007-11-12 06:33:05 +0800 |
commit | 77b4f2d64d991b4cf42bb55b9f8d01b648ba02a2 (patch) | |
tree | 3f51c9ca0d8e0405efb0436c9221a6060c8f1c81 /irc | |
parent | 7cdfc2e521d8a85e2e8a662baed352047f2b4056 (diff) | |
download | freebsd-ports-gnome-77b4f2d64d991b4cf42bb55b9f8d01b648ba02a2.tar.gz freebsd-ports-gnome-77b4f2d64d991b4cf42bb55b9f8d01b648ba02a2.tar.zst freebsd-ports-gnome-77b4f2d64d991b4cf42bb55b9f8d01b648ba02a2.zip |
Fix coredump with silc-irssi-plugin.
PR: ports/117871
Submitted by: Wesley Shields <wxs.at.atarininja.org>
Approved by: portmgr@ (linimon)
Diffstat (limited to 'irc')
-rw-r--r-- | irc/irssi/Makefile | 1 | ||||
-rw-r--r-- | irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index 4e37bd42ed90..689cf70545a7 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -7,6 +7,7 @@ PORTNAME= irssi PORTVERSION= 0.8.12 +PORTREVISION= 1 CATEGORIES?= irc MASTER_SITES= http://mirror.irssi.org/ diff --git a/irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c b/irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c new file mode 100644 index 000000000000..8d8e409c8563 --- /dev/null +++ b/irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c @@ -0,0 +1,11 @@ +--- src/fe-common/irc/fe-irc-messages.c.orig Sat Oct 20 14:45:59 2007 ++++ src/fe-common/irc/fe-irc-messages.c Sat Oct 20 14:46:21 2007 +@@ -44,7 +44,7 @@ static const char *skip_target(IRC_SERVER_REC *server, + const char *val, *chars; + + /* Quick check */ +- if (server->prefix[(int)(unsigned char)*target] == 0) ++ if (server == NULL || server->prefix[(int)(unsigned char)*target] == 0) + return target; + + /* Hack: for bahamut 1.4 which sends neither STATUSMSG nor |