In the simplest case, consider a Boolean flag allocated in memory directly after a buffer.
最简单的情况就是考虑直接在缓冲区后面的记忆体中指派一个布尔标志。
If a malicious user can overwrite the buffer, then the value of the flag can be changed, thus providing the attacker with illegal access to private files.
如果有不怀好意的使用者覆写缓冲区,则会变更标志的值,从而指出攻击者是非法存取专用文件。
应用推荐