—Are you going to suggest memset_s()?
—I don't know, it's only 2016, perhaps volatile…
cc @BRIAN_____
-
-
@BRIAN_____ according to Colin Percival you can say the same thing about memset_s. http://www.daemonology.net/blog/2014-09-06-zeroing-buffers-is-insufficient.html … -
@BRIAN_____ Looking at the generated assembly. “volatile” can make the difference between code that works as intended now and what we have. -
@spun_off You mean that `volatile` is more effective than `memset_s`?
-
@BRIAN_____ it has existed for longer. memset_s was only standardized in C11 and arguments can be made it was the wrong approach anyway.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.