Jinoh Kang (@iamahuman) commented about dlls/ntdll/heap.c:
- return block;
+}
+static NTSTATUS heap_allocate_block_lfh( struct heap *heap, ULONG flags, SIZE_T block_size,
SIZE_T size, void **ret )
+{
- struct bin *bin, *last = heap->bins + BLOCK_SIZE_BIN_COUNT - 1;
- struct block *block;
- bin = heap->bins + BLOCK_SIZE_BIN( block_size );
- if (ReadNoFence( &heap->compat_info ) != HEAP_LFH) return STATUS_UNSUCCESSFUL;
- if (!heap->bins || bin == last) return STATUS_UNSUCCESSFUL;
- if (!ReadNoFence( &bin->enabled )) return STATUS_UNSUCCESSFUL;
- block_size = BLOCK_BIN_SIZE( BLOCK_SIZE_BIN( block_size ) );
Nit: extraneous space. ```suggestion:-0+0 block_size = BLOCK_BIN_SIZE( BLOCK_SIZE_BIN( block_size )); ```