Page MenuHomePhabricator

OpenSSL memory sanity check
Open, WishlistPublic


OpenSSL supportes memory debugging (requires rebuild of openssl with crypto-mdebug), which can capture corner cases of allocating something through openssl function and freeing it using normal free() or vice versa. These errors generally do not cause any issues in production systems, but could fail in picky debuggers or on different platforms.

It would be nice to have CI target that could rebuild openssl with crypto-debug support and plug into libssh tests CRYPTO_set_mem_debug() and CRYPTO_mem_leaks() functions to track OpenSSL inconsistencies.

Event Timeline

Jakuje triaged this task as Wishlist priority.May 6 2020, 11:51 AM
Jakuje created this task.