Re:Team Fortress 2 source code has leaked
by sgillen on Thursday April 23, 2020 @05:41PM
(#22961840)
I don’t think the vulnerability was in malloced memory, it was some buffer on the stack. I’ve actually patched OpenSSL to stop heart bleed as an excersice and iirc the fix was in fact just preventing a typical buffer overflow.
> [...] OpenSSL adds a wrapper around malloc & free so that the library will cache memory on it's own, and not free it to the protective malloc. [...] So then a bug shows up which leaks the content of memory mishandled by that layer. [...]
https://marc.info/?l=openbsd-misc&m=139698608410938&w=2