Difference between revisions of "Memory management internals"

From OpenSSLWiki
Jump to: navigation, search
(document OPENSSL_NO_BUF_FREELIST)
 
(brief summary.)
 
Line 5: Line 5:
 
* [http://www.tedunangst.com/flak/post/heartbleed-vs-mallocconf heartbleed-vs-mallocconf]
 
* [http://www.tedunangst.com/flak/post/heartbleed-vs-mallocconf heartbleed-vs-mallocconf]
 
* [http://www.tedunangst.com/flak/post/analysis-of-openssl-freelist-reuse analysis-of-openssl-freelist-reuse]
 
* [http://www.tedunangst.com/flak/post/analysis-of-openssl-freelist-reuse analysis-of-openssl-freelist-reuse]
 +
 +
These posts recommend getting rid of that internal free list (custom memory allocation),
 +
and simply calling malloc/free directly.

Latest revision as of 13:41, 9 October 2014

free list in libssl[edit]

libssl maintains an internal free list, rather than calling malloc/free directly. See these two blog posts:

These posts recommend getting rid of that internal free list (custom memory allocation), and simply calling malloc/free directly.