Will falliable allocations help eliminate these kinds of DoS vulnerabilities?
AFAIK there's a proposal: https://rust-lang.github.io/rfcs/2116-alloc-me-maybe.html
AFAIK there's a proposal: https://rust-lang.github.io/rfcs/2116-alloc-me-maybe.html
but that's not entirely sufficient. Even ignoring overcommit shenanigans of Linux, an ever-growing request can cause a lot of strain on the process or the OS before it finally makes allocations fail.