Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 252 Bytes

secureprogramming.rst

File metadata and controls

10 lines (9 loc) · 252 Bytes

安全编程

内存安全

  • 初始化所有变量
  • 保持数组和缓冲区的边界检查
  • 检查整数的上溢和下溢
  • 使用安全的函数
  • 永远不给内存可执行权限