diff options
author | blymn <blymn> | 2002-05-25 14:17:06 +0000 |
---|---|---|
committer | blymn <blymn> | 2002-05-25 14:17:06 +0000 |
commit | b0af713643e3c37ef7ff0b3d9e6bcc8bdd0449d7 (patch) | |
tree | 1c0b2284ac5cc5ea6a70dc24d8adf082ea340c73 /chat/irssi/patches | |
parent | f6105bf9b57ea3600ac25ffe8b5ca86aecb05b16 (diff) | |
download | pkgsrc-b0af713643e3c37ef7ff0b3d9e6bcc8bdd0449d7.tar.gz |
Added fix provided by xs@kittenz.org to prevent irssi crashing. This
fixes pr#15510.
Diffstat (limited to 'chat/irssi/patches')
-rw-r--r-- | chat/irssi/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/irssi/patches/patch-aa b/chat/irssi/patches/patch-aa new file mode 100644 index 00000000000..88b1d0237cf --- /dev/null +++ b/chat/irssi/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2002/05/25 14:17:06 blymn Exp $ + +--- src/fe-text/tparm.c.orig Sat Feb 9 08:40:12 2002 ++++ src/fe-text/tparm.c +@@ -247,7 +247,7 @@ + argcnt = 0; + pos = 0; + termcap = 1; +- while (*sp != '\0') { ++ while ((sp != NULL) && (*sp != '\0')) { + switch(*sp) { + case '\\': + if (scan_for) { |