Hacker News new | past | comments | ask | show | jobs | submit login
A C++ Challenge - The Conclusion (matasano.com)
21 points by gthank on Oct 16, 2009 | hide | past | favorite | 2 comments



The first link mentioned in the article was a very interesting read.

http://timetobleed.com/defeating-the-matasano-c-challenge-wi...

It's a fairly clear explanation. Before the language warriors come out in force, I'll mention that it appears that all of the problems turn out to be issues with 1) calling new and 2) C-style casts.

Exploiting the issue requires someone with a detailed knowledge of C++ inner workings. It would have taken me a long time to figure it all out.

Avoiding the issue? Well, most modern C++ doesn't look very much like the problem code for very good reasons.


Joe Damato's post on this was really excellent, and I highly recommend people read it first.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: