1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/irc/bitchx/files/patch-funny.c
Tilman Keskinoz cdea6c7aa7 patch-dcc-force-port: Patch to allow forcing of the local port for DCC. [1]
patch-source_server_c: 	fix an snprintf buffer size;[2]
patch-funny.c: 		Security Fix [3]
patch-names.c: 		Security Fix: Channeloperator can set specific modes
			to crash Bx clients [1]
Bump PORTREVISION

[1] Obtained from: 	BitchX Developers
[2] Obtained from:	OpenBSD
[3] Obtained from:	gentoo
2003-05-11 22:20:03 +00:00

15 lines
332 B
C

--- source/funny.c 2003-02-20 16:37:07.000000000 +0000
+++ source/funny.c 2003-02-20 16:39:13.000000000 +0000
@@ -261,6 +261,11 @@
channel = Args[1];
line = Args[2];
+ if (channel == NULL || line == NULL) {
+ bitchsay("Invalid number of arguments for %s", __FUNCTION__);
+ return;
+ }
+
ptr = line;
while (*ptr)
{