Y
Hacker News
new
|
ask
|
show
|
jobs
by
i-con
131 days ago
There's another way to explain the UB: IIRC, any value when stored to a _Bool is supposed to be converted to 0 or 1. The memset() bypasses this rule, boom.