I have been debugging a crash for days now, that occurs in the depths of OpenSSL (discussion with the maintainers here). I took some time investigating so I\'ll try to make this
In general the possibilities include:
malloc()
and friends put extra bookkeeping information in here, such as the size, and probably a sanity-check, which you will fail by overwriting.malloc()
-ed.free()
-d.