I posted this a while ago https://news.ycombinator.com/item?id=6230503
It still intrigues me that this happens, I do wonder if it is limited to languages like C or if it could conceivably happen in anything with an advanced runtime (think the porter stemmer bug that broke java7 on release)
Maybe we can introduce this to jit-spraying ? (http://dsecrg.com/files/pub/pdf/HITB%20-%20JIT-Spray%20Attac...)