cluster: STABLE32 - rgmanager: Fix potential use-after-free

Fabio M. Di Nitto fabbione at fedoraproject.org
Wed Aug 15 13:07:30 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=13bea41ade9dd03a7e34b76a1b88e27b17962320
Commit:        13bea41ade9dd03a7e34b76a1b88e27b17962320
Parent:        eaed668e79d60d95b99f746df12515d1dc4d3650
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Fri Sep 16 15:04:56 2011 -0400
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Wed Aug 15 11:04:38 2012 +0200

rgmanager: Fix potential use-after-free

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 rgmanager/src/daemons/reslist.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/rgmanager/src/daemons/reslist.c b/rgmanager/src/daemons/reslist.c
index 3c05df7..ced3fc2 100644
--- a/rgmanager/src/daemons/reslist.c
+++ b/rgmanager/src/daemons/reslist.c
@@ -885,6 +885,7 @@ load_resources(int ccsfd, resource_t **reslist, resource_rule_t **rulelist)
 #endif
 
 			       destroy_resource(newres);
+			       continue;
 		       }
 
 		       /* Just information */


More information about the cluster-commits mailing list