Y
Hacker News
new
|
ask
|
show
|
jobs
by
pornel
863 days ago
abs() of this value also happens to exceed the maximum positive value. Which means that in C, a simple negation can cause signed integer overflow -(-32768), and therefore UB.