Files
bun.sh/src
Claude Bot c92da7cad4 Fix WriteUtf8 to not include null terminator in return value
The V8 WriteUtf8 API returns the number of bytes written excluding
the null terminator. We were incorrectly incrementing 'written' after
adding the null byte, causing the return value to be off by one.

This fixes the ASAN failure in test_handle_scope_gc where the
assertion atoi(buf) == (int)j was failing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 12:41:20 +00:00
..
2025-10-16 21:52:22 -04:00
2025-07-21 13:26:47 -07:00
2025-10-04 02:17:55 -07:00
2025-07-29 19:35:46 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-10-23 17:52:13 -07:00
2025-09-11 23:29:53 -07:00
2025-10-25 00:05:28 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00