TIL: memset_s() is included in C11 to guarantee the compiler can't optimize away the mem write. Which it naturally can and does with memset.
@djcapelis @jserv It's not "in C11" but in Annex K, which is widely hated (for good reasons) and likely to be removed.
-
-
@djcapelis@jserv In the case of memset_s they nonsensically mixed 2 "secure" behaviors: bounds checking args and clearing sensitive data.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.