Note that C11 adds the (optional) function memset_s and the Standard guarantees the function call cannot be optimized away:
对于敏感数据,请注意清空操作不要被优化掉了。
点击这里查看原文
本帖内容由21QA云收藏工具自动生成,欢迎使用。
asked 11 Dec '14, 13:54
原野之狼 1.9k●93●99●116
Once you sign in you will be able to subscribe for any updates here
Answers
Answers and Comments
Markdown Basics
learn more about Markdown
Question tags:
云收藏 ×885 c ×42
question asked: 11 Dec '14, 13:54
question was seen: 1,088 times
last updated: 11 Dec '14, 13:54
【 云收藏】函数调用过程探究 - bangerlee - 博客园
【 云收藏】如何写出无法维护的代码 | 酷 壳 - CoolShell.cn
【 云收藏】c++ - Cancelling a thread that has a mutex locked does not unlock the mutex - Stack Overflow
【 云收藏】Linking C++ to C in GCC - Stack Overflow
【 云收藏】RtlSecureZeroMemory routine (Windows Drivers)
【 云收藏】Man Page for memset_s (osx Section 3) - The UNIX and Linux Forums
【 云收藏】Smashing the Stack for Fun and Profit by Aleph One
【 云收藏】CWE - CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (2.8)
【资料分享】数字信号处理C语言实现
如何设计一个具有热缓存功能的内存池
powered by O*S*Q*A
粤ICP备14040061号-1
First time here? Check out the FAQ!