Memory Safety
The ability of a program to avoid memory errors such as dangling pointers, buffer overflows and use-after-free during execution, and an important dimension of the security of systems programming languages.
Timeline (last 90 days)
The safety agenda discussed in the C++ community is usually divided into memory safety (such as dangling pointers and buffer overruns) and type/lifetime safety; within WG21, multiple directions are being pursued in parallel, including contracts, the profiles mechanism, and stricter initialization rules.
Memory safety is not equivalent to functional correctness; code can be free of memory out-of-bounds issues while still containing errors in business logic or edge cases
All Facts (2)
The safety agenda discussed in the C++ community is usually divided into memory safety (such as dangling pointers and buffer overruns) and type/lifetime safety; within WG21, multiple directions are being pursued in parallel, including contracts, the profiles mechanism, and stricter initialization rules.
50%UnverifiedMemory safety is not equivalent to functional correctness; code can be free of memory out-of-bounds issues while still containing errors in business logic or edge cases
50%