Send Linux-ha-cvs mailing list submissions to
        linux-ha-cvs@lists.linux-ha.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: membership by zhenh from 
      (linux-ha-cvs@lists.linux-ha.org)
   2. Linux-HA CVS: heartbeat by lars from 
      (linux-ha-cvs@lists.linux-ha.org)
   3. Linux-HA CVS: heartbeat by lars from 
      (linux-ha-cvs@lists.linux-ha.org)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Jul 2006 04:22:49 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: membership by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : membership

Dir     : linux-ha/membership/ccm


Modified Files:
        ccmclient.c 


Log Message:
after we have the autojoin feature, the llm_get_nodecount() can't return the 
real max nodes time anymore, this may cause memory corruption, may fix #1382
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/membership/ccm/ccmclient.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ccmclient.c 7 Jun 2006 08:29:52 -0000       1.42
+++ ccmclient.c 25 Jul 2006 10:22:48 -0000      1.43
@@ -1,4 +1,4 @@
-/* $Id: ccmclient.c,v 1.42 2006/06/07 08:29:52 zhenh Exp $ */
+/* $Id: ccmclient.c,v 1.43 2006/07/25 10:22:48 zhenh Exp $ */
 /* 
  * client.c: Consensus Cluster Client tracker
  *
@@ -486,13 +486,12 @@
 {
        char memstr[] = "membership chunk";
        char miscstr[] = "misc chunk";
-       int  maxnode = llm_get_nodecount(llm);
 
        refresh_llm_msg(llm);
        ipc_mem_chk = g_mem_chunk_new(memstr,
                                sizeof(ccm_ipc_t)+
                                sizeof(ccm_meminfo_t)+
-                               maxnode*sizeof(born_t), 
+                               MAXNODE*sizeof(born_t), 
                                MAXIPC, G_ALLOC_AND_FREE);
        ipc_misc_chk = g_mem_chunk_new(miscstr,
                                sizeof(ccm_ipc_t)+




------------------------------

Message: 2
Date: Tue, 25 Jul 2006 07:25:26 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by lars from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : lars
Host    : 
Project : linux-ha
Module  : heartbeat

Dir     : linux-ha/heartbeat


Modified Files:
      Tag: STABLE_1_0
        heartbeat.c 


Log Message:
CVE-2006-3815: Fix local DoS attack, propagated from 2.0.x branch.

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/heartbeat.c,v
retrieving revision 1.241.2.13
retrieving revision 1.241.2.14
diff -u -3 -r1.241.2.13 -r1.241.2.14
--- heartbeat.c 19 Jan 2005 12:00:09 -0000      1.241.2.13
+++ heartbeat.c 25 Jul 2006 13:25:25 -0000      1.241.2.14
@@ -1,4 +1,4 @@
-const static char * _heartbeat_c_Id = "$Id: heartbeat.c,v 1.241.2.13 
2005/01/19 12:00:09 lars Exp $";
+const static char * _heartbeat_c_Id = "$Id: heartbeat.c,v 1.241.2.14 
2006/07/25 13:25:25 lars Exp $";
 
 /*
  * heartbeat: Linux-HA heartbeat code
@@ -435,7 +435,7 @@
        (void)_hb_config_h_Id;
        (void)_setproctitle_h_Id;
 
-       if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0666)) < 0) {
+       if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0600)) < 0) {
                ha_perror("Cannot shmget for process status");
                return;
        }
@@ -3921,6 +3921,9 @@
 
 /*
  * $Log: heartbeat.c,v $
+ * Revision 1.241.2.14  2006/07/25 13:25:25  lars
+ * CVE-2006-3815: Fix local DoS attack, propagated from 2.0.x branch.
+ *
  * Revision 1.241.2.13  2005/01/19 12:00:09  lars
  * Fix & enhance locking heartbeat into memory. (Backport from 1.2)
  *




------------------------------

Message: 3
Date: Tue, 25 Jul 2006 07:26:10 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by lars from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : lars
Host    : 
Project : linux-ha
Module  : heartbeat

Dir     : linux-ha/heartbeat


Modified Files:
      Tag: STABLE_1_2
        heartbeat.c 


Log Message:
CVE-2006-3815: Fix local DoS attack, propagated from 2.0.x branch.


===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/heartbeat.c,v
retrieving revision 1.291.2.26
retrieving revision 1.291.2.27
diff -u -3 -r1.291.2.26 -r1.291.2.27
--- heartbeat.c 27 Oct 2005 17:32:24 -0000      1.291.2.26
+++ heartbeat.c 25 Jul 2006 13:26:09 -0000      1.291.2.27
@@ -1,4 +1,4 @@
-/* $Id: heartbeat.c,v 1.291.2.26 2005/10/27 17:32:24 blaschke Exp $ */
+/* $Id: heartbeat.c,v 1.291.2.27 2006/07/25 13:26:09 lars Exp $ */
 /*
  * heartbeat: Linux-HA heartbeat code
  *
@@ -471,7 +471,7 @@
        int     ipcid;
        struct pstat_shm *      shm;
 
-       if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0666)) < 0) {
+       if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0600)) < 0) {
                cl_perror("Cannot shmget for process status");
                return;
        }
@@ -4428,6 +4428,9 @@
 
 /*
  * $Log: heartbeat.c,v $
+ * Revision 1.291.2.27  2006/07/25 13:26:09  lars
+ * CVE-2006-3815: Fix local DoS attack, propagated from 2.0.x branch.
+ *
  * Revision 1.291.2.26  2005/10/27 17:32:24  blaschke
  *
  * Bug 927 - Shutdown if needed after standby is cancelled.




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
Linux-ha-cvs@lists.linux-ha.org
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 32, Issue 65
********************************************

Reply via email to