Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
olliej
· 3y ago · 0 comments
This is simply standard using the builtins that the major c++ compilers already have. It does not remove the absurd “overflow is UB” semantics that introduces security bugs.
Comments
[–]
gustedt
3y ago
Only that here we are talking about C. But yes, most C compilers already seem to have this as builtins.
[–]
olliej
OP
3y ago
haha, I'm so used to reading C++2x I assumed C++ - however the problem exists in both :-/