logoalt Hacker News

vlovich123last Sunday at 12:43 AM1 replyview on HN

You’d be wrong. I recommend you reread the blog post and grok what’s happening in the example.

> When that happens, we will run the Ptr version of get, which will dereference the Int’s val field as a pointer – and hence the program accesses address 42, and crashes.

If you don’t see an exploit gadget there based on a violation of memory safety I don’t know how to have a productive conversation.


Replies

tptaceklast Sunday at 7:11 AM

Please do explain the exploit gadget you're talking about.