return error status in case probing the parameters failed in IoCreateFile()
authorThomas Bluemel <thomas@reactsoft.com>
Tue, 25 Jan 2005 00:05:56 +0000 (00:05 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Tue, 25 Jan 2005 00:05:56 +0000 (00:05 +0000)
svn path=/trunk/; revision=13260

reactos/ntoskrnl/io/create.c

index f82fd5b..d0b92cc 100644 (file)
@@ -409,6 +409,11 @@ IoCreateFile(OUT PHANDLE           FileHandle,
        Status = _SEH_GetExceptionCode();
      }
      _SEH_END;
+     
+     if(!NT_SUCCESS(Status))
+     {
+       return Status;
+     }
    }
    else
    {