2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Handle in_res being NULL for sudo_debug_printf() in sudo_sss_filter_result().

This commit is contained in:
Todd C. Miller
2014-01-08 16:48:27 -07:00
parent 12fc51060e
commit 57113a536f

View File

@@ -175,7 +175,7 @@ sudo_sss_filter_result(struct sudo_sss_handle *handle,
debug_decl(sudo_sss_filter_result, SUDO_DEBUG_SSSD)
sudo_debug_printf(SUDO_DEBUG_DEBUG, "in_res=%p, count=%u, act=%s",
in_res, in_res->num_rules,
in_res ? in_res : "NULL", in_res ? in_res->num_rules : 0,
act == _SUDO_SSS_FILTER_EXCLUDE ? "EXCLUDE" : "INCLUDE");
if (in_res == NULL)