r/programming • • Apr 09 '14
Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"
[deleted] — view deleted post
2.0k
Upvotes
r/programming • • Apr 09 '14
[deleted] — view deleted post
View all comments
Show parent comment
20
u/Beaverman Apr 09 '14
In case someone isn't fluent in C and memory management. If you try to read, write, or copy memory that your process doesn't own then most operating systems will terminate your program to protect the integrity of the memory.
The "hearthbleed" bug was caused by the program being allowed to copy memory which was already freed by the program, since some abstraction layer actually didn't free it, but cached it itself.
That's how i understand it, i might have misunderstood something.