You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-17 22:57:35 +02:00
Memory Management: Leaks are bad, RCE is worse (#997)
Leaks are bad, RCE is worse
This commit is contained in:
@ -20,3 +20,4 @@ void foo(size_t n) {
|
||||
|
||||
Memory is leaked if the function returns early between `malloc` and `free`: the
|
||||
pointer is lost and we cannot deallocate the memory.
|
||||
Worse, freeing the pointer twice, or accessing a freed pointer can lead to exploitable security vulnerabilities.
|
||||
|
Reference in New Issue
Block a user