if krb5_get_default_config_files() returns success and
authorSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:49 +0000 (20:54 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:49 +0000 (20:54 +0000)
commit259668e4970e05226efa1807303d3adfbb35df4a
treee1609b6a1edd690cf80ac5bf8fe57745e8313101
parentd280888e38ef7c3e9fdccf6329db9a8fd7f3290e
if krb5_get_default_config_files() returns success and
an empty list, then get_profile_file() will attempt
to dereference a null pointer.  check for the empty
list and treat it as failure.

Patch by Jeffrey Altman.

From: Alexey Melnikov <alexey.melnikov@isode.com>

leashw32: get_profile_file

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25250 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/leashdll/lshfunc.c