[RDBSS]
[reactos.git] / reactos / sdk / lib / drivers / rdbsslib / rdbss.c
index 5a9a832..0f27fe9 100644 (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)
                     {