V2EX  ›  英汉词典
Enqueued related words: Bounds-Checking, Input-Validation

Buffer-Overflow

Definition / 定义

buffer overflow(缓冲区溢出):在计算机程序中,把超过缓冲区(buffer)容量的数据写入内存,导致覆盖相邻内存的现象。它可能引发程序崩溃、数据被篡改,严重时可被利用为安全漏洞(例如执行恶意代码)。常见类型包括栈溢出(stack-based)堆溢出(heap-based)等。

Pronunciation / 发音

/ˈbʌfər ˌoʊvərˈfloʊ/

Examples / 例句

The program crashed because of a buffer overflow.
程序因为缓冲区溢出而崩溃了。

If the input isn’t length-checked, a buffer overflow vulnerability can allow an attacker to overwrite memory and potentially take control of execution.
如果没有对输入长度进行检查,缓冲区溢出漏洞可能让攻击者覆盖内存,甚至潜在地控制程序的执行流程。

Etymology / 词源

buffer 原义与“缓冲、减震、缓冲空间”相关,在计算机领域引申为“用于临时存放数据的内存区域(缓冲区)”。overflowover-(超过)+ flow(流动) 组成,字面义是“溢出”。合在一起,buffer overflow 直观表示“数据多到从缓冲区里溢出来”,并在计算机安全语境中固定为“缓冲区溢出(漏洞/问题)”。

Related Words / 相关词

Literary Works / 文学作品

  • The Art of Exploitation(Jon Erickson):以通俗方式讲解包括缓冲区溢出在内的漏洞利用原理。
  • Smashing the Stack for Fun and Profit(Aleph One):经典安全文章,系统介绍栈溢出的利用思路。
  • The C Programming Language(Kernighan & Ritchie):虽不以安全为主题,但在讨论字符串与数组时常被用来说明缺乏边界检查可能导致溢出问题。
  • Security Engineering(Ross Anderson):在更宏观的系统安全讨论中涉及溢出类缺陷与防护思路。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1845 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 04:13 · PVG 12:13 · LAX 20:13 · JFK 23:13
♥ Do have faith in what you're doing.