ITADN

Bun silently drops writes to [new Uint8Array(n)] under 1024 bytes

#37151Openadeelaliasd 创建于 14 天前
bugneeds triage
A
adeelaliasdcommented
### What version of Bun is running? 1.4.0 ### What platform is your computer? linux ### What steps can reproduce the bug? Node persists in-place writes to small buffers correctly; Bun silently drops writes to [new Uint8Array(n)] under 1024 bytes. This is causing data corruption issue in NAPI-RS ### What is the expected behavior? _No response_ ### What do you see instead? _No response_ ### Additional information _No response_
1 条评论