[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Wed Dec 19 01:32:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-12-19 07:31:09 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/patch.h src/mod/server.mod/tclserv.c

Log message:

added my jumpfix patch

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.256 eggdrop1.6/doc/UPDATES1.6:1.257
--- eggdrop1.6/doc/UPDATES1.6:1.256	Wed Dec 19 00:29:21 2001
+++ eggdrop1.6/doc/UPDATES1.6	Wed Dec 19 01:30:58 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.256 2001/12/19 06:29:21 guppy Exp $
+$Id: UPDATES1.6,v 1.257 2001/12/19 07:30:58 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+          guppy     tcl_jump could easily crash the bot
 various   guppy     tcl_pushmode now accepts any irc modes instead of the standard ones
           guppy     made tcl_chanlist (when matching chanflags), tcl_handonchan, and
                     tcl_nick2hand much faster
Index: eggdrop1.6/src/mod/server.mod/tclserv.c
diff -u eggdrop1.6/src/mod/server.mod/tclserv.c:1.9 eggdrop1.6/src/mod/server.mod/tclserv.c:1.10
--- eggdrop1.6/src/mod/server.mod/tclserv.c:1.9	Sat Jun 30 01:29:57 2001
+++ eggdrop1.6/src/mod/server.mod/tclserv.c	Wed Dec 19 01:30:59 2001
@@ -1,7 +1,7 @@
 /*
  * tclserv.c -- part of server.mod
  *
- * $Id: tclserv.c,v 1.9 2001/06/30 06:29:57 guppy Exp $
+ * $Id: tclserv.c,v 1.10 2001/12/19 07:30:59 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -114,13 +114,13 @@
 {
   BADARGS(1, 4, " ?server? ?port? ?pass?");
   if (argc >= 2) {
-    strcpy(newserver, argv[1]);
+    strncpyz(newserver, argv[1], sizeof newserver);
     if (argc >= 3)
       newserverport = atoi(argv[2]);
     else
       newserverport = default_port;
     if (argc == 4)
-      strcpy(newserverpass, argv[3]);
+      strncpyz(newserverpass, argv[3], sizeof newserverpass);
   }
   cycle_time = 0;
   nuke_server("changing servers\n");
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.633 eggdrop1.6/src/patch.h:1.634
--- eggdrop1.6/src/patch.h:1.633	Wed Dec 19 00:29:21 2001
+++ eggdrop1.6/src/patch.h	Wed Dec 19 01:30:58 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.633 2001/12/19 06:29:21 guppy Exp $
+ * $Id: patch.h,v 1.634 2001/12/19 07:30:58 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1008743238");		/* current unixtime */
+patch("1008746952");		/* current unixtime */
 /*
  *
  *
  */
-patch("morespeedyness");
+patch("jumpfix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list