auth: initKeys before first error exit path
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 16 Nov 2011 05:29:34 +0000 (00:29 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 16 Nov 2011 17:12:22 +0000 (09:12 -0800)
commit833d076e04ac09270a203a9ff449ae2af8bdad7e
tree80f6bd9e9b91a3768dc50e6b715c2600e47e906b
parent1c97c04add6639a11e88d412e369771bf6f0f281
auth: initKeys before first error exit path

In afsconf_OpenInternal() _afsconf_InitKeys() must be called
before the first opportunity to call afsconf_CloseInternal()
or a crash can occur if the CellServDB file cannot be parsed.

Change-Id: I5b2487056a24d0c4ad78921d85df755758c7679e
Reviewed-on: http://gerrit.openafs.org/6059
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/auth/cellconfig.c