News for hackers. Stuff that matters.
Re:TrueCrypt Security Assessment [pdf] by Marat_Dukhan on Monday April 14, 2014 @08:38PM (#7589711)
I checked 3 compilers: icc 14, gcc 4.8, and clang 3.3. Clang is the only one which optimized the memset away.
Re:TrueCrypt Security Assessment [pdf] by lawnchair_larry on Monday April 14, 2014 @09:46PM (#7589890)
Did you enable optimization? I know first hand that GCC will optimize something similar out in many cases.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8537

Re:TrueCrypt Security Assessment [pdf] by Marat_Dukhan on Tuesday April 15, 2014 @06:30AM (#7591126)
Yes, I compiled with -O3.
Re:TrueCrypt Security Assessment [pdf] by timtadh on Monday April 14, 2014 @09:30PM (#7589845)
Not a windows user so I can't check but given that it is the kernel driver the compiler we would be concerned about is the MS visual c++ compiler.
Re:TrueCrypt Security Assessment [pdf] by Marat_Dukhan on Tuesday April 15, 2014 @06:33AM (#7591130)
Visual C++ 2013 doesn't remove memset either.