kauth: realm can't be NULL when calling CellToRealm
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 19 Feb 2013 15:25:12 +0000 (15:25 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 24 Feb 2013 19:48:58 +0000 (11:48 -0800)
commit50a993385673ed083145f587c16d0c9dd444262e
treed0d5d7866083a628e1621f519d9b3d42402148a8
parentff649d5bf51d78959de769e35eec61a5667d5939
kauth: realm can't be NULL when calling CellToRealm

Despite what the static analyzer thinks, ka_CellToRealm can't be
called with a NULL realm. Just add an assert to close down that
code path, and stop it from producing an error.

Change-Id: Ifc8cf7e5dca5ae29eaaa91c5b238a97197d89ee3
Reviewed-on: http://gerrit.openafs.org/9174
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/kauth/kalocalcell.c