mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
channels/rdpdr: fix IRP creation (forgot to zero memory)
This commit is contained in:
@@ -80,6 +80,7 @@ IRP* irp_new(DEVMAN* devman, STREAM* data_in)
|
||||
}
|
||||
|
||||
irp = (IRP*) _aligned_malloc(sizeof(IRP), MEMORY_ALLOCATION_ALIGNMENT);
|
||||
ZeroMemory(irp, sizeof(IRP));
|
||||
|
||||
irp->device = device;
|
||||
irp->devman = devman;
|
||||
|
||||
Reference in New Issue
Block a user