loentar / axis2c-unofficial

Unofficial backports and unofficial support for Apache Axis2/C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSL Leak

alexis-gruet opened this issue · comments

Possible leak found... actually axis2_ssl_utils_cleanup_ssl() is never called.

==67752== 17,736 bytes in 1 blocks are possibly lost in loss record 125 of 126
==67752==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==67752==    by 0x66A7DB2: CRYPTO_malloc (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==67752==    by 0x640CA62: ??? (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==67752==    by 0x640CBC8: ??? (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==67752==    by 0x640E930: ??? (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==67752==    by 0xE8BD3BC: ???
==67752==    by 0xE8BCACE: ???
==67752==    by 0xE8BA8D1: ???
==67752==    by 0xE8B4145: ???
==67752==    by 0xE8B1D3D: ???
==67752==    by 0xE8B0A79: ???
==67752==    by 0xCC41B88: ???
==67752== 
==67752== 36,891 (808 direct, 36,083 indirect) bytes in 1 blocks are definitely lost in loss record 126 of 126
==67752==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==67752==    by 0x66A7DB2: CRYPTO_malloc (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==67752==    by 0x6422A4F: SSL_new (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==67752==    by 0xE8BD2E6: ???
==67752==    by 0xE8BCACE: ???
==67752==    by 0xE8BA8D1: ???
==67752==    by 0xE8B4145: ???
==67752==    by 0xE8B1D3D: ???
==67752==    by 0xE8B0A79: ???
==67752==    by 0xCC41B88: ???
==67752==    by 0xCC83340: ???
==67752==    by 0xCC81F00: ???

Thanks for report.

If you create pull request or provide a patch I will apply it.