Heartbleed was a buffer overread. Sounds like a memory safety bug... is it not?

It was.