Files
janet/src
Calvin Rose 6e75146a8f Replace janet_malloc(A * X) with array_allocate(A, X) to avoid overflow
on 32 bit systems in some cases.

Since most internal arrays in Janet have 32 bit limits, this is is not
hit in practice on 64 bit systems, except in cases of user input. Apply
a fix more generally to simply avoid the issue by coding "defensively".
Some applications are not strictly needed.
2026-08-26 19:16:07 -05:00
..