mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	sys: FspDeviceDelete: fill out device extension with the value 0xBD when device is deleted
This commit is contained in:
		| @@ -197,6 +197,11 @@ VOID FspDeviceDelete(PDEVICE_OBJECT DeviceObject) | ||||
|         return; | ||||
|     } | ||||
|  | ||||
| #if DBG | ||||
|     RtlFillMemory(&DeviceExtension->Kind, | ||||
|         (PUINT8)DeviceObject + DeviceObject->Size - (PUINT8)&DeviceExtension->Kind, 0xBD); | ||||
| #endif | ||||
|  | ||||
|     IoDeleteDevice(DeviceObject); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user