sys: fix some prefast suggestions

This commit is contained in:
Bill Zissimopoulos
2016-04-11 15:27:34 -07:00
parent 430f47945d
commit 220208cf87
3 changed files with 4 additions and 1 deletions

View File

@ -206,6 +206,7 @@ VOID FspDeviceDelete(PDEVICE_OBJECT DeviceObject)
}
#if DBG
#pragma prefast(suppress:28175, "Debugging only: ok to access DeviceObject->Size")
RtlFillMemory(&DeviceExtension->Kind,
(PUINT8)DeviceObject + DeviceObject->Size - (PUINT8)&DeviceExtension->Kind, 0xBD);
#endif