9 Aug
2023
9 Aug
'23
8:36 p.m.
Chip Davis (@cdavis5e) commented about dlls/fltmgr.sys/main.c:
+ if (ret == STATUS_SUCCESS) + *descriptor = sec_desc; + +done: + if (ret != STATUS_SUCCESS) + ExFreePool(sec_desc); + + ExFreePool(sid); + ExFreePool(sid_system); + + return ret; +} + +void WINAPI FltFreeSecurityDescriptor(PSECURITY_DESCRIPTOR descriptor) +{ + RtlFreeHeap(GetProcessHeap(), 0, descriptor); You allocated this above with `ExAllocatePool()`. Shouldn't this then use `ExFreePool()`?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/414#note_41836