]> git.pld-linux.org Git - packages/BitchX.git/blobdiff - BitchX-353fix.patch
- security fix from Michal Kaps <ciril@faf.net.pl>
[packages/BitchX.git] / BitchX-353fix.patch
diff --git a/BitchX-353fix.patch b/BitchX-353fix.patch
new file mode 100644 (file)
index 0000000..17ac30e
--- /dev/null
@@ -0,0 +1,14 @@
+--- BitchX/source/funny.c.orig Thu Feb 20 12:15:02 2003
++++ BitchX/source/funny.c      Thu Feb 20 12:15:06 2003
+@@ -158,6 +158,10 @@
+       channel = ArgList[0];
+       user_cnt = ArgList[1];
+       line = PasteArgs(ArgList, 2);
++      if (channel == NULL || line == NULL) { 
++      bitchsay("Invalid number of arguments for %s", __FUNCTION__); 
++      return; 
++      } 
+       if (funny_flags & FUNNY_TOPIC && !(line && *line))
+                       return;
+       cnt = my_atol(user_cnt);
+
This page took 0.0906439999999999 seconds and 4 git commands to generate.