News for hackers. Stuff that matters.
Re:Pointers Are Complicated, or What’s in a Byte? by GolDDranks on Wednesday July 25, 2018 @07:11AM (#17608367)
I'm not going to take the responsibility whether it's correct or not - here's the talk I learned it from: https://youtu.be/kPR8h4-qZdk?t=22m17s
Re:Pointers Are Complicated, or What’s in a Byte? by gmueckl on Wednesday July 25, 2018 @07:57AM (#17608569)
I haven't watched all of it, but the explanation for the null terminator bug must contain some OS interaction telling the kernel that it is actually safe to discard the page containing the null terminator (e.g. the madvice call mentioned in a sibling post). If you're doing things like that, you're asking for trouble.