News for hackers. Stuff that matters.
Re:Conflating pointers with arrays: C's biggest mistake? (2009) by sehugg on Sunday July 22, 2018 @06:31AM (#17586127)
Clang has -Wpadded to catch these kinds of bugs, FWIW. (and at least on my system it inits locals' padding with zero)
Re:Conflating pointers with arrays: C's biggest mistake? (2009) by xroche on Sunday July 22, 2018 @09:15AM (#17586572)
-Wpadded causes interesting... results when including glibc's headers.