9 Feb
2023
9 Feb
'23
2:39 p.m.
Jinoh Kang (@iamahuman) commented about dlls/ntdll/heap.c:
if ((ULONG_PTR)ptr % BLOCK_ALIGN) err = "invalid ptr alignment"; + else if (block_get_type( block ) == BLOCK_TYPE_DEAD) + err = "delayed freed block"; + else if (block_get_type( block ) == BLOCK_TYPE_FREE) + err = "already freed block"; + else if (block_get_flags( block ) & BLOCK_FLAG_LFH) + { + /* LFH blocks base points to the group, not the subheap */
```suggestion:-0+0 /* LFH blocks' base points to the group, not the subheap */ ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1628#note_23585