reactos/drivers/storage/mountmgr
Hermès Bélusca-Maïto 8d91d4c8e1
[MOUNTMGR] MountMgrMountedDeviceArrival(): Fix pool buffer double-free.
`DeviceInformation->DeviceName.Buffer` was already freed via the previous
  `FreePool(TargetDeviceName.Buffer);` call,
since `DeviceInformation->DeviceName` was set to `TargetDeviceName` above
in the code. This resulted in a pool double-free, triggering a corruption
of the pool, and a BSoD.

What had to be freed instead, is `DeviceInformation->SymbolicName.Buffer`
that is allocated at the beginning of the function.
2025-01-28 15:29:40 +01:00
..
CMakeLists.txt
database.c [MOUNTMGR] Rectify "NoAutoMount" usage (#7030) 2024-06-25 22:51:07 +02:00
device.c [MOUNTMGR] Fix the buffer returned by IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH (#6990) 2025-01-21 19:16:01 +01:00
mntmgr.h [MOUNTMGR] Fix initial sending of device online notification (#7030) 2024-06-25 22:51:08 +02:00
mountmgr.c [MOUNTMGR] MountMgrMountedDeviceArrival(): Fix pool buffer double-free. 2025-01-28 15:29:40 +01:00
mountmgr.rc
notify.c [MOUNTMGR] Introduce MountMgrSendSyncDeviceIoCtl() to replace repeated code (#6960) 2024-06-13 20:01:16 +02:00
point.c
symlink.c [MOUNTMGR] Introduce MountMgrSendSyncDeviceIoCtl() to replace repeated code (#6960) 2024-06-13 20:01:16 +02:00
uniqueid.c