From e282eb6f8f054dab3b1749687dbbb037b0a97257 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 9 Jul 2010 12:25:50 +0000 Subject: [PATCH] Addendum to r24180: make sure osa_adb_get_policy sets its output parameter in all cases, per coding standards. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24181 dc483132-0cff-0310-8789-dd5450dbe970 --- src/plugins/kdb/db2/adb_policy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/kdb/db2/adb_policy.c b/src/plugins/kdb/db2/adb_policy.c index 87fab3ac5..3c51a27aa 100644 --- a/src/plugins/kdb/db2/adb_policy.c +++ b/src/plugins/kdb/db2/adb_policy.c @@ -191,6 +191,7 @@ osa_adb_get_policy(osa_adb_policy_t db, char *name, char *aligned_data = NULL; osa_policy_ent_t entry = NULL; + *entry_ptr = NULL; OPENLOCK(db, KRB5_DB_LOCKMODE_SHARED); if(name == NULL) { -- 2.26.2