From: Alexandra Ellwood Date: Mon, 10 Mar 2008 19:07:54 +0000 (+0000) Subject: ccs_ccache_reset should check all arguments for NULL X-Git-Tag: krb5-1.7-alpha1~727 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d072b06dc3877a03946680456e56d4b6fca1720;p=krb5.git ccs_ccache_reset should check all arguments for NULL ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20259 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ccapi/server/ccs_ccache.c b/src/ccapi/server/ccs_ccache.c index ca41a8756..2f7d45d8b 100644 --- a/src/ccapi/server/ccs_ccache.c +++ b/src/ccapi/server/ccs_ccache.c @@ -154,7 +154,9 @@ cc_int32 ccs_ccache_reset (ccs_ccache_t io_ccache, char *v5_principal = NULL; ccs_credentials_list_t credentials = NULL; - if (!io_ccache) { err = cci_check_error (ccErrBadParam); } + if (!io_ccache ) { err = cci_check_error (ccErrBadParam); } + if (!io_cache_collection) { err = cci_check_error (ccErrBadParam); } + if (!in_principal ) { err = cci_check_error (ccErrBadParam); } if (!err) { io_ccache->creds_version = in_creds_version;