fcache: prevent null pointer dereference
commit18b76b6236ee36c44ead644f7ef58e0365c6147e
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 18 May 2011 14:00:31 +0000 (18 10:00 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 18 May 2011 14:20:09 +0000 (18 10:20 -0400)
tree1361850901cd01dd945caf2dea7085583b17bf1b
parent305596d9ad16095b91ceedf0d3bb2854fe57ee0f
fcache: prevent null pointer dereference

Validate krb5_ccache and krb5_cc_cursor inputs
before use.  Avoid null pointer dereference which
can occur if an application fails to properly check
return codes.

Change-Id: I8023808936e60cc7b8e57a062106cfcdc51ee7d7
lib/krb5/fcache.c