CWE-14—Compiler Removal of Code to Clear Buffers
PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11
Metadata
名称
Compiler Removal of Code to Clear Buffers
描述
Sensitive memory is cleared according to the source code, but compiler optimizations leave the memory untouched when it is not read from again, aka "dead store removal."
This compiler optimization error occurs when: