Hacker News new | ask | show | jobs
by FartyMcFarter 90 days ago
Stack overflows are also trivial to check for, if one wants to. It's just comparing two pointers, plus checking for arithmetic overflow (in case the pointers run past the maximum value of the pointer type).