Brain Phrye

code cooking diy fiction personal photos politics reviews tools 


OpenSSL malloc usage

Some info on how the OpenBSD libc’s malloc could have detected, neutered or reduced the impact of Heartbleed.

Further info on OpenSSL’s broken free list implementation.

Essentially, don’t implement your own memory handling routines; use the system ones or obvious alternatives.