From 16afa8ffad45c84aad9a3905be566a8d13130c63 Mon Sep 17 00:00:00 2001 From: Justin Anderson Date: Wed, 1 Oct 2008 13:57:19 +0000 Subject: [PATCH] Check for NULL hints_array passed back from kim_os_selection_hints_get_selection_hints_array in kim_os_selection_hints_lookup_identity ticket: 6055 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20790 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kim/lib/mac/kim_os_selection_hints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kim/lib/mac/kim_os_selection_hints.c b/src/kim/lib/mac/kim_os_selection_hints.c index 97d70db69..bc1a64868 100644 --- a/src/kim/lib/mac/kim_os_selection_hints.c +++ b/src/kim/lib/mac/kim_os_selection_hints.c @@ -334,7 +334,7 @@ kim_error kim_os_selection_hints_lookup_identity (kim_selection_hints in_select err = kim_os_selection_hints_get_selection_hints_array (&hints_array); } - if (!err) { + if (!err && hints_array) { count = CFArrayGetCount (hints_array); } -- 2.26.2