https://trofi.github.io/posts/347-another-memory-corruption-case.html