Coverity CID 228: Possible use of uninitialized variable time_req in
authorKen Raeburn <raeburn@mit.edu>
Sat, 29 Mar 2008 01:08:31 +0000 (01:08 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 29 Mar 2008 01:08:31 +0000 (01:08 +0000)
commit71ca378e4b7fb64f77bbf58ba15f4665072163bd
tree68100281c2e466be22ec4ab5e741f58158f46704
parentcb44e7b91175854d3ca668ec043a48f02b2c37e8
Coverity CID 228: Possible use of uninitialized variable time_req in
gss_add_cred if cred_usage has an invalid value.  (Also flagged by
GCC.)

Changed validation routines for gss_add_cred, gss_acquire_cred, and
gss_store_cred to check the cred_usage value.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20295 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/mechglue/g_acquire_cred.c
src/lib/gssapi/mechglue/g_store_cred.c