Enfore stack size limits on allocation capacity, not only element counts
#276 · Rust · ★ 83 · Apache-2.0 · updated 2mo ago
Currently we only check for the maximum stack size before trying to push an element onto the stack. However, we should also limit the capacity of the internal Vec to prevent any unexpected memory usage.
replies in ~0hnobody circling
Cleared 3m ago