However, allocators should provide some means for detecting corruption due to overwriting memory, multiple frees, and so on.
尽管如此,分配器应该提供一些方法探测由于改写内存,多次释放等等这样的错误导致的内存混乱。
Similarly, all accesses to arrays and strings are checked at run-time to ensure that they are in bounds, eliminating the possibility of overwriting memory and corrupting data.
类似地,所有对字符串和数组的访问在运行时被检查来确保他们没有越界,消除越界导致的内存重写和数据损坏的问题。
Most attackers attain their vicious goal by overwriting beyond buffers to the memory locations that should not be influenced by the input the attackers provide.
大部分攻击者通过提供外部输入来越界写缓冲区外不应该受外部输入影响的内存位置来达到他们的恶意目的。
应用推荐