mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Static Code Analysis: in Windows Driver, avoid using uninitialized stack memory as random and use proper random value for wipe operation. Solve potential double-free issue.
This commit is contained in:
@@ -1709,7 +1709,7 @@ void TCStopVolumeThread (PDEVICE_OBJECT DeviceObject, PEXTENSION Extension)
|
||||
{
|
||||
NTSTATUS ntStatus;
|
||||
|
||||
if (DeviceObject); /* Remove compiler warning */
|
||||
UNREFERENCED_PARAMETER (DeviceObject); /* Remove compiler warning */
|
||||
|
||||
Dump ("Signalling thread to quit...\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user