boostorg / mysql

MySQL C++ client based on Boost.Asio
https://www.boost.org/doc/libs/master/libs/mysql
Boost Software License 1.0
252 stars 32 forks source link

Possible leak on auth.ipp #210

Closed Zen0x7 closed 6 months ago

Zen0x7 commented 7 months ago

Hi package maintainers;

By using valgrind, for some debugging purposes; I was able to discover something interesting.

Valgrind reports me a couple of warnings of "Leak but still reachable":

image

A lots are related to:

image

Following

image

I'm using

image

anarthal commented 7 months ago

Hi @SpiritSaint,

Thanks for the report. Could you please attach the full valgrind output for your run?

Please also include:

Thanks, Ruben.

anarthal commented 6 months ago

I've been trying to reproduce this with the info I have and I haven't been able to. Valgrind reports everything clean. This may have been caused by an old openssl version allocating but not freeing some global state required for hashing. I can't confirm without version numbers.