发生缓冲区溢位时,会覆写下一个相邻的记忆体块。
When this happens, the next contiguous chunk of memory is overwritten.
最简单的情况就是考虑直接在缓冲区后面的记忆体中指派一个布尔标志。
In the simplest case, consider a Boolean flag allocated in memory directly after a buffer.
在指派同一资料类型的相邻区块时,这块记忆体栏位称为缓冲区。
When contiguous chunks of the same data types are allocated, the memory region is known as a buffer.
应用推荐