Re:Glibc getaddrinfo stack-based buffer overflow
by steveklabnik on Tuesday February 16, 2016 @02:53PM
(#11112654)
Yes, absolutely.
Re:Glibc getaddrinfo stack-based buffer overflow
by erickt on Tuesday February 16, 2016 @08:53PM
(#11114611)
But only if you use the `slice.unchecked_get`[1] method, otherwise you still get bounds checking in an unsafe block.
[1]: http://doc.rust-lang.org/std/primitive.slice.html#method.get...
But not bounds checks, which are unfortunately what you need with respect to buffer overflows.