Don't attempt to dereference NULL-ptr if CCB isn't set.
Fixes crash in RxFsdCommonDispatch() under rare circumstances.

CORE-11327

svn path=/trunk/; revision=75474
This commit is contained in:
Pierre Schweitzer 2017-08-03 20:47:41 +00:00
parent 62806dc561
commit eae32333ca

View file

@ -5984,7 +5984,7 @@ RxFsdCommonDispatch(
Fobx = StackFileObject->FsContext2;
if (BooleanFlagOn(Fcb->FcbState, FCB_STATE_ORPHANED) ||
BooleanFlagOn(Fobx->pSrvOpen->Flags, SRVOPEN_FLAG_ORPHANED))
((Fobx != NULL) && BooleanFlagOn(Fobx->pSrvOpen->Flags, SRVOPEN_FLAG_ORPHANED)))
{
if (Closing)
{