https://fedorahosted.org/sssd/ticket/1711


-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager for IdM portfolio
Red Hat Inc.


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



From 53f0a4c78f3c72b91fcd6f6b9f29c2dac63a4a78 Mon Sep 17 00:00:00 2001
From: Dmitri Pal <[email protected]>
Date: Tue, 11 Dec 2012 12:30:03 -0500
Subject: [PATCH] [INI] Fixing coverity issue 13105

---
 ini/ini_get_valueobj.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ini/ini_get_valueobj.c b/ini/ini_get_valueobj.c
index 3ea53a4c7ac8b37d7d29640bb9c86d583e21ecd7..8a99642f6194ea2ee7feaaa18861b1608c161fd8 100644
--- a/ini/ini_get_valueobj.c
+++ b/ini/ini_get_valueobj.c
@@ -137,13 +137,13 @@ int ini_get_config_valueobj(const char *section,
     else to_find = section;
 
     TRACE_INFO_STRING("Getting Name:", name);
-    TRACE_INFO_STRING("In Section:", section);
+    TRACE_INFO_STRING("In Section:", to_find);
 
     /* Make sure we start over if this is the first value */
     if (mode == INI_GET_FIRST_VALUE) ini_config_clean_state(ini_config);
 
     /* Are we looking in the same section ? */
-    if (!is_same_section(ini_config, section)) {
+    if (!is_same_section(ini_config, to_find)) {
 
         /* This is a different section */
         ini_config_clean_state(ini_config);
-- 
1.7.1

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

Reply via email to