lean4-htt/src/include/lean
Henrik Böving 9db52c7fa6
fix: file read buffer overflow (#13392)
This PR fixes a heap buffer overflow in `lean_io_prim_handle_read` that
was triggered through an
integer overflow in the size computation of an allocation. In addition
it places several checked
arithmetic operations on all relevant allocation paths to have potential
future overflows be turned
into crashes instead. The offending code now throws an out of memory
error instead.

Closes: #13388
2026-04-13 17:56:27 +00:00
..
lean.h fix: file read buffer overflow (#13392) 2026-04-13 17:56:27 +00:00
lean_gmp.h fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
lean_libuv.h feat: link LibUV (#4963) 2024-08-12 12:33:24 +00:00