Metraipolis › archive › dc_8c1698e712f8
Buffer overflow protection — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Buffer_overflow_protection
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-15T17:51:45.754Z
- SHA-256 of the archived text
3b3dececefa94fcb551179cdca0758c6239f7431d6208d29868fb617e37d4f6a- Stable URL of this page
https://metraipolis.com/documento/dc_8c1698e712f8
How to cite
Buffer overflow protection — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Buffer_overflow_protection (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_8c1698e712f8 (Metraipolis archive dc_8c1698e712f8, sha256 3b3dececefa94fcb551179cdca0758c6239f7431d6208d29868fb617e37d4f6a)
BibTeX
@misc{dc8c1698e712f8,
title = {Buffer overflow protection — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Buffer_overflow_protection},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_8c1698e712f8; sha256 3b3dececefa94fcb551179cdca0758c6239f7431d6208d29868fb617e37d4f6a},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Buffer_overflow_protection. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Buffer overflow protection is any of various techniques used during software development to enhance the security of executable programs by detecting buffer overflows on stack-allocated variables, and preventing them from causing program misbehavior or from becoming serious security vulnerabilities. A stack buffer overflow occurs when a program writes to a memory address on the program's call stack outside of the intended data structure, which is usually a fixed-length buffer. Stack buffer overflow bugs are caused when a program writes more data to a buffer located on the stack than what is actually allocated for that buffer. This almost always results in corruption of adjacent data on the stack, which could lead to program crashes, incorrect operation, or security issues. Typically, buffer overflow protection modifies the organization of stack-allocated data so it includes a canary value that, when destroyed by a stack buffer overflow, shows that a buffer preceding it in memory has been overflowed. By verifying the canary value, execution of the affected program can be terminated, preventing it from misbehaving or from allowing an attacker to take control over it. Other buffer overflow protection techniques include bounds checking, which checks accesses to each allocated block of memory so they cannot go beyond the actually allocated space, and tagging, which ensures that memory allocated for storing data cannot contain executable code. Overfilling a buffer allocated on the stack is more likely to influence program execution than overfilling a buffer on the heap because the stack contains the return addresses for all active function calls. However, similar implementation-specific protections also exist against heap-based overflows. There are several implementations of buffer overflow protection, including those for the GNU Compiler Collection, LLVM, Microsoft Visual Studio, and other compilers. Tema degli esploratori: diritto e tecnologia (deposito sistematico; ricerca «data protection»). Fonte: Wikipedia in inglese, voce «Buffer overflow protection» — https://en.wikipedia.org/wiki/Buffer_overflow_protection Wikidata Q3495442 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q3495442 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Buffer_overflow_protection?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1362918839, consultata il 2026-10-15T17:00:22.420Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 0f619dcf9e80546e4ada47b78dcda44964fc25169131457688c2547381ec252c