4 ms·
with bounds checking, out of range index still trigger exception or runtime error. Many of them results in DoS.
by j16sdiz 3y ago
with bounds checking, out of range index still trigger exception or runtime error. Many of them results in DoS.
- pjmlp 3y agoMuch better than silent data corruption. Then there is the whole issue of making it more interesting to look elsewhere instead. When a door is locked I can still break in by throwing a rock to the window, yet most people do lock the door nonetheless, while most thieves only bother to break the window if there is anything actually valuable in doing so.