Windows: AFSEvaluateTargetByID Sanity Check Result
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 27 Jan 2013 20:06:09 +0000 (15:06 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Sat, 2 Feb 2013 17:24:40 +0000 (09:24 -0800)
commit8099525c4a0251974c0a66c4b72fc26187691f29
tree2c6d16cc7394d58cfbdaebddb09563b91c01b6ab
parent5649d84f1a96e3b2cc1dc42d67d3facb4e4b5d07
Windows: AFSEvaluateTargetByID Sanity Check Result

If the file server provides the service with bogus status info
and that status info is inconsistent with the allocated fields
in the associated ObjectInformationCB and FCB structures, it can
result in a BSOD.  Perform some basic sanity checks and if an
inconsistency is discovered, fail the request.  This may result
in the inability to access a file/directory but will prevent a
BSOD.

Change-Id: Iabf66adc5e953dc4ae27ed701148a9ffbf55abcc
Reviewed-on: http://gerrit.openafs.org/8994
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp