3 ms·
The only issue memory leaks can cause is being a DDoS vector. Memory unsafety can cause a host of other issues, and much more serious ones. It is also very dif
by steveklabnik 7y ago
The only issue memory leaks can cause is being a DDoS vector. Memory unsafety can cause a host of other issues, and much more serious ones.
It is also very difficult to come up with a definition of "memory leak" that doesn't include programmer intention, and so it's not clear that you can come up with static analysis to preclude it.
- zerpelin68 7y agoAgreed there is not much you can do about a programmer using memory in an unsafe way...so what is the point?
- steveklabnik 7y agoYou can, in general. Just not for memory leaks. The point is defense in depth.