News for hackers. Stuff that matters.
Re:Being Sneaky in C by TheLoneWolfling on Friday June 12, 2015 @04:54PM (#9708467)
Yes.

There is, quite literally, no way to ensure data is not leaked (namely, that data is zeroed / etc) in portable C / C++.

Re:Being Sneaky in C by alain94040 on Friday June 12, 2015 @10:38PM (#9709664)
Or in assembly, for that matter. You never what data the CPU is duplicating behind your back: store buffers, prediction, etc.
Re:Being Sneaky in C by TheLoneWolfling on Friday June 12, 2015 @10:44PM (#9709679)
At least with assembly most of the time you can't ever get that data back. Although not always.

With C it's far too easy to get the data back.

Also, you missed the worst example: CPU cache.