auth: Don't crash if UserList contains bogus line
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 1 Jan 2011 23:58:20 +0000 (23:58 +0000)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 2 Jan 2011 03:18:43 +0000 (19:18 -0800)
commit1879e1bce21918cecaee505656664be0fb6b8bce
tree7fca58a9884ba6826f687dffc5b93c2526d74fad
parenta7fb4262597c07ca5da9709df75a2007b92b222b
auth: Don't crash if UserList contains bogus line

If the first line of the UserList was bogus (caused ParseLine to
return an error), then we would attempt to free the contents of
an uninitialised identity structure, and crash. Initialise the
structure so this no longer happens.

Change-Id: I55074a5eb616ac48d8a278db2d8389d3b0e112a6
Reviewed-on: http://gerrit.openafs.org/3607
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/auth/userok.c