[KMTESTS:CC] Fix a typo, definitely showing this code path is not used during the test

This commit is contained in:
Pierre Schweitzer 2018-12-23 12:31:14 +01:00
parent 1a267045f8
commit cdc419eb18
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -456,7 +456,7 @@ TestIrpHandler(
RtlFillMemory(Buffer, Length, 0xBD);
}
if (TestTestId == 4 && TestWritten &&
if ((TestTestId == 4 || TestTestId == 5) && TestWritten &&
Offset.QuadPart <= VACB_MAPPING_GRANULARITY - PAGE_SIZE - sizeof(ULONG) &&
Offset.QuadPart + Length >= VACB_MAPPING_GRANULARITY - PAGE_SIZE)
{