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: lib by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)
   2. Linux-HA CVS: crm by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)
   3. Linux-HA CVS: lib by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)
   4. Linux-HA CVS: lib by zhenh from  (linux-ha-cvs@lists.linux-ha.org)
   5. Linux-HA CVS: linux-ha by panjiam from 
      (linux-ha-cvs@lists.linux-ha.org)


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

Message: 1
Date: Thu, 17 Aug 2006 01:17:16 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : lib

Dir     : linux-ha/lib/crm/cib


Modified Files:
        cib_native.c 


Log Message:
BEAM Fixes: Possible use of NULL and memory leak in error handling

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/crm/cib/cib_native.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- cib_native.c        6 Jul 2006 09:30:27 -0000       1.59
+++ cib_native.c        17 Aug 2006 07:17:15 -0000      1.60
@@ -471,6 +471,7 @@
                }
                CRM_CHECK(ha_msg_value_int(
                                  op_reply, F_CIB_CALLID, &reply_id) == HA_OK,
+                         crm_msg_del(op_reply);
                          return cib_reply_failed);
 
                if(reply_id == msg_id) {
@@ -619,8 +620,10 @@
 
        } else if (cib_native_msgready(cib) == FALSE) {
                crm_debug("Waiting for message from CIB service...");
-               if(native->callback_channel
-                  && native->callback_channel->ch_status != IPC_CONNECT) {
+               if(native->callback_channel == NULL) {
+                       return 0;
+                       
+               } else if(native->callback_channel->ch_status != IPC_CONNECT) {
                        return 0;
                        
                } else if(native->command_channel




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

Message: 2
Date: Thu, 17 Aug 2006 01:17:16 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : crm

Dir     : linux-ha/crm/crmd


Modified Files:
        fsa.c 


Log Message:
BEAM Fixes: Possible use of NULL and memory leak in error handling

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/crmd/fsa.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -3 -r1.144 -r1.145
--- fsa.c       22 Apr 2006 10:26:16 -0000      1.144
+++ fsa.c       17 Aug 2006 07:17:15 -0000      1.145
@@ -169,7 +169,7 @@
        fsa_actions = clear_bit(fsa_actions, an_action);
        crm_debug_3("Invoking action %s (%.16llx)",
                    fsa_action2string(an_action), an_action);
-       if(do_time_check && action_diff_max_ms > 0) {
+       if(do_time_check) {
                action_start = time_longclock();
        }
 
@@ -182,7 +182,7 @@
        crm_debug_3("Action complete: %s (%.16llx)",
                    fsa_action2string(an_action), an_action);
 
-       if(do_time_check && action_diff_max_ms > 0) {
+       if(do_time_check) {
                action_stop = time_longclock();
                action_diff = sub_longclock(action_stop, action_start);
                action_diff_ms = longclockto_ms(action_diff);




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

Message: 3
Date: Thu, 17 Aug 2006 01:17:17 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : lib

Dir     : linux-ha/lib/crm/common


Modified Files:
        xml.c 


Log Message:
BEAM Fixes: Possible use of NULL and memory leak in error handling





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

Message: 4
Date: Thu, 17 Aug 2006 02:26:29 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

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

Dir     : linux-ha/lib/stonith


Modified Files:
        expect.c 


Log Message:
we should save errno in save_errno, found by BEAM
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/stonith/expect.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- expect.c    16 Aug 2006 21:55:04 -0000      1.23
+++ expect.c    17 Aug 2006 08:26:29 -0000      1.24
@@ -1,4 +1,4 @@
-/* $Id: expect.c,v 1.23 2006/08/16 21:55:04 alan Exp $ */
+/* $Id: expect.c,v 1.24 2006/08/17 08:26:29 zhenh Exp $ */
 /*
  * Simple expect module for the STONITH library
  *
@@ -78,12 +78,13 @@
 {
        clock_t         ret;
 #ifndef DISABLE_TIMES_KLUDGE
-       int             save_errno;
+       int             save_errno = errno;
 
        /*
         * This code copied from clplumbing/longclock.c to avoid
         * making STONITH depend on clplumbing.  See it for an explanation
         */
+       
        errno   = 0;
 #endif /* DISABLE_TIMES_KLUDGE */
 




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

Message: 5
Date: Thu, 17 Aug 2006 02:32:23 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: linux-ha by panjiam from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : panjiam
Host    : 
Module  : linux-ha

Dir     : linux-ha


Modified Files:
        configure.in 


Log Message:
added testrun.sh script
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/configure.in,v
retrieving revision 1.550
retrieving revision 1.551
diff -u -3 -r1.550 -r1.551
--- configure.in        17 Aug 2006 03:15:41 -0000      1.550
+++ configure.in        17 Aug 2006 08:32:23 -0000      1.551
@@ -10,7 +10,7 @@
 AC_INIT(heartbeat.spec.in)
 
 AC_CONFIG_AUX_DIR(.)
-AC_REVISION($Revision: 1.550 $) dnl cvs revision
+AC_REVISION($Revision: 1.551 $) dnl cvs revision
 AC_CANONICAL_HOST
 
 
@@ -2810,6 +2810,7 @@
         cim/mof/register_providers.sh                           \
         cim/mof/unregister_providers.sh                         \
 tsa_plugin/Makefile                                            \
+tsa_plugin/testrun.sh                                          \
 telecom/Makefile                                               \
        telecom/apphbd/Makefile                                 \
        telecom/recoverymgrd/Makefile                           \




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

_______________________________________________
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 33, Issue 77
********************************************

Reply via email to