News for hackers. Stuff that matters.
Re:Binary Search Reconsidered (2018) by Veedrac on Saturday December 26, 2020 @08:07AM (#25543215)
These issues would be a lot less troublesome if hardware offered basic security, like zero-cost poison-on-overflow and bounds-checked pointers, either of which would solve any risks of just letting it be. But right now there's the pragmatic question of not only whether this is a bug you could hit accidentally, but whether it's a bug you could exploit intentionally to corrupt memory, so it's better to just do the technically-correct thing even if it seems pointless.

It's less concerning for C#, which is a managed language, of course.

There are no comments on this comment yet.