Memory-safe C code
Memory-safe C code
Posted Nov 16, 2025 19:36 UTC (Sun) by alx.manpages (subscriber, #145117)In reply to: Memory-safe C code by khim
Parent article: Rust in Android: move fast and fix things (Google Security Blog)
> Anything that doesn't handle memory allocations would be “a minor thing”.
Agree. Why did you assume it wouldn't handle memory allocations? :-)
When I said any buffer overflows, I actually meant it. No buffer overflows even in malloc(3)'d memory.
> That would be a good thing, definitely… but to achieve similar reduction in the bug rate you need to handle memory allocations, somehow.
>
> That's the biggest problem and biggest pay-off.
Yup.
