News for hackers. Stuff that matters.
Re:Learning that you can use unions in C for grouping things... by cryptonector on Sunday August 01, 2021 @10:22PM (#28032250)
Having made a significant contribution to Simon Tatham's PuTTY, I have to respectfully disagree. At the time the entire SSHv2 key exchange and user authentication protocols were implemented in a single function using a massive Duff's device (for asynchrony) implemented with C metaprogramming macros. It was a surprisingly pleasant experience.
Re:Learning that you can use unions in C for grouping things... by pjmlp on Monday August 02, 2021 @03:21AM (#28033801)
There is a reason why such clevernesses are forbiden by security standards like MISRA-C.