Hi,

While I was testing the patches for AD range retrieval disable otpion, the SSSD started segfaulting in my test environment. The cause was missing variable in DEBUG macro call.
Attached patch fixes this issue.

Ondra
--
Ondrej Kos
Associate Software Engineer
Identity Management
Red Hat Czech
From 869c3e64fa9d087547440048bd342ea9af53da0d Mon Sep 17 00:00:00 2001
From: Ondrej Kos <o...@redhat.com>
Date: Tue, 14 May 2013 16:28:27 +0200
Subject: [PATCH] Fix segfault in DYNDNS

Added missing variable in DEBUG macro call.
---
 src/providers/dp_dyndns.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/dp_dyndns.c b/src/providers/dp_dyndns.c
index a7bf54f9b0fc9b33caf2de9d838ea0b2da6b0c42..8cf42443a9f50cee3a58724dc612dcc83cbdf860 100644
--- a/src/providers/dp_dyndns.c
+++ b/src/providers/dp_dyndns.c
@@ -727,7 +727,7 @@ done:
     } else if (ret != EAGAIN) {
         DEBUG(SSSDBG_OP_FAILURE,
               ("nsupdate_get_addrs_done failed: [%d]: [%s]\n",
-               sss_strerror(ret)));
+               ret, sss_strerror(ret)));
         tevent_req_error(req, ret);
     }
     /* EAGAIN - another lookup in progress */
-- 
1.8.1.4

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to