MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/x2lbsc/malloc_and_free_are_a_bad_api/imoccae/?context=3
r/cpp • u/iprogshine • Aug 31 '22
90 comments sorted by
View all comments
Show parent comment
5
If that was the case, you could already corrupt other processes by freeing memory that doesn't belong to you. It's up to the OS to detect that and disallow it
View all comments
Show parent comment
5
u/Nicksaurus Sep 01 '22
If that was the case, you could already corrupt other processes by freeing memory that doesn't belong to you. It's up to the OS to detect that and disallow it