News for hackers. Stuff that matters.
Re:Undefined behavior in C is a reading error by anarazel on Thursday May 20, 2021 @03:38PM (#27226050)
> in how many contexts is INT_MAX + 1 overflowing to INT_MIN actually sane semantics? Unless you're immediately attempting to check the result to see if it overflowed (which is extremely rare in the code I see)

It's not that rare - I know that postgres got bit by particularly that issue, and several other other projects as well. Particularly painful because that obviously can cause security issues.

There are no comments on this comment yet.