Fix len miscalculation in buffer-based allocator
2 files changed