Files
bun.sh/src
Claude Bot fa0c945d91 fix: correct pool node type and add validation for path buffer pool
Two fixes:
1. In http/zlib.zig: Fix the type annotation for the pool node from
   `BufferPool.Node` (value type) to `*BufferPool.Node` (pointer type).
   The @fieldParentPtr builtin returns a pointer, not a value.

2. In path_buffer_pool.zig: Add debug assertions to validate the allocator
   pointer after computing the node from @fieldParentPtr. This helps catch
   cases where an invalid buffer pointer is passed to put(), which would
   cause @fieldParentPtr to compute garbage and lead to crashes like
   "index out of bounds" when the garbage pointer is dereferenced.

This addresses a Windows-specific crash with error "index out of bounds:
index 49151, len 49151" occurring in path_buffer_pool.put().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 02:20:00 +00:00
..
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-20 20:56:02 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-12-25 14:00:58 -08:00
2025-11-10 14:38:26 -08:00
2025-10-04 02:17:55 -07:00
2025-07-29 19:35:46 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-25 11:06:24 -08:00
2025-11-10 14:38:26 -08:00
2026-01-07 12:33:21 -08:00
2025-11-10 14:38:26 -08:00
2025-11-20 20:56:02 -08:00
2025-07-21 13:26:47 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-07-21 13:26:47 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-09-09 20:41:10 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-12-01 21:59:11 -08:00
2025-11-10 14:38:26 -08:00
2025-07-21 13:26:47 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00