Expected to be applied on top of the previous set of patches.

-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager for IdM portfolio
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/



From 14550b7f097c12ce2e131f6dde71844eb5cee7d1 Mon Sep 17 00:00:00 2001
From: Dmitri Pal <[email protected]>
Date: Thu, 27 Sep 2012 12:30:14 -0400
Subject: [PATCH] [INI] Fixing coverity issue 11089

Pointer was not initialized before being read.
---
 ini/ini_valueobj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ini/ini_valueobj.c b/ini/ini_valueobj.c
index 7d90ab0..c522b35 100644
--- a/ini/ini_valueobj.c
+++ b/ini/ini_valueobj.c
@@ -635,6 +635,7 @@ int value_copy(struct value_obj *vo,
     new_vo->boundary = vo->boundary;
     new_vo->raw_lines = NULL;
     new_vo->raw_lengths = NULL;
+    new_vo->ic = NULL;
 
     error = value_create_arrays(&(new_vo->raw_lines),
                                 &(new_vo->raw_lengths));
@@ -666,7 +667,6 @@ int value_copy(struct value_obj *vo,
             return error;
         }
     }
-    else new_vo->ic = NULL;
 
     *copy_vo = new_vo;
 
-- 
1.7.1

_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to