[cvslog] (2004-03-14 13:30:31 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun Mar 14 07:30:32 CST 2004


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2004-03-14 13:30:31 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/dcc.c src/patch.h

Log message:

* Fixed a segfault in dcc.c. Patch by daimonic.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.541 eggdrop1.6/doc/UPDATES1.6:1.542
--- eggdrop1.6/doc/UPDATES1.6:1.541	Sat Feb 14 14:11:08 2004
+++ eggdrop1.6/doc/UPDATES1.6	Sun Mar 14 07:30:21 2004
@@ -1,4 +1,4 @@
-$Id: UPDATES1.6,v 1.541 2004/02/14 20:11:08 wcc Exp $
+$Id: UPDATES1.6,v 1.542 2004/03/14 13:30:21 wcc Exp $
 
 Eggdrop Changes (since v1.6.0)
      _________________________________________________________________
@@ -11,6 +11,9 @@
     ftp://ftp.eggheads.org/pub/eggdrop/UPDATES/
 
   1.6.16:
+    - Fixed a segfault in dcc.c.
+    * Patch by: daimonic
+
     - Various crash fixes:
       * Fixed _wild_match() to not try to read before the beginning of the
         mask.
Index: eggdrop1.6/src/dcc.c
diff -u eggdrop1.6/src/dcc.c:1.75 eggdrop1.6/src/dcc.c:1.76
--- eggdrop1.6/src/dcc.c:1.75	Fri Feb  6 16:36:28 2004
+++ eggdrop1.6/src/dcc.c	Sun Mar 14 07:30:21 2004
@@ -4,7 +4,7 @@
  *   disconnect on a dcc socket
  *   ...and that's it!  (but it's a LOT)
  *
- * $Id: dcc.c,v 1.75 2004/02/06 22:36:28 stdarg Exp $
+ * $Id: dcc.c,v 1.76 2004/03/14 13:30:21 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -507,6 +507,9 @@
   int i;
   char *password = get_user(&USERENTRY_PASS, dcc[idx].user);
 
+  if (!password)
+    return 1;
+  
   MD5_Init(&md5context);
 
   egg_snprintf(digest_string, 33, "<%x%x@", getpid(),
@@ -524,6 +527,7 @@
 
   if (!strcmp(digest_string, remote_digest))
     return 1;
+
   putlog(LOG_BOTS, "*", "Response (password hash) from %s incorrect",
          dcc[idx].nick);
   return 0;
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1059 eggdrop1.6/src/patch.h:1.1060
--- eggdrop1.6/src/patch.h:1.1059	Sat Feb 14 14:11:08 2004
+++ eggdrop1.6/src/patch.h	Sun Mar 14 07:30:21 2004
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1059 2004/02/14 20:11:08 wcc Exp $
+ * $Id: patch.h,v 1.1060 2004/03/14 13:30:21 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1076789442");            /* current unixtime */
+patch("1079270983");            /* current unixtime */
 /*
  *
  *
  */
-patch("notesfix");
+patch("dcc-botdigest");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list