Files
neovim/test/functional/lua
benarcher2691 2069be281c fix(mpack): boundary values for negative integer encoding #37255
Problem:
libmpack encodes boundary values -129 and -32769 with wrong integer
sizes:
- -129 as int8 instead of int16
- -32769 as int16 instead of int32
because the boundary checks compare against the wrong values (e.g., lo
< 0xffffff7f instead of lo < 0xffffff80). This caused data corruption:
-129 would decode as 127.

Solution:
Fix off-by-one errors in the two's complement boundary constants:
0xffffff80 (-128, min int8) and 0xffff8000 (-32768, min int16).

Fixes #37202

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-21 17:07:33 -04:00
..
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00
2025-09-03 23:03:51 -04:00
2025-11-22 17:04:32 -05:00
2024-04-23 18:17:04 +02:00
2026-03-11 18:00:18 +01:00
2026-01-12 03:50:57 +00:00