3 ms·
The solution presented solves "memory corruption" from the point of not having undefined behavior, but it doesn't really protect against "I accidentally created
by saagarjha 7y ago
The solution presented solves "memory corruption" from the point of not having undefined behavior, but it doesn't really protect against "I accidentally created an index that has nothing to do with memory I manage, but is still 'in bounds' to the code that handles lookup".