mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
3f5e09a0df
The initial allocation for the slice is limited to prevent untrusted data from forcing a huge allocation, but then the dynamic array was created with a capacity of the unlimited length, rather than the actual capacity of the allocation. This was causing a buffer overrun.