RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Getting rid of openssl memory leaks?

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 09 Nov 2007 - 10:46:27 CET
Message-Id: <FD68E19E-98F0-4C04-81B7-D7A668C6B80B@mac.com>

On Nov 9, 2007, at 2:08 AM, Ralf S. Engelschall wrote:
>>
>> What's the best way to get rid of these leaks? I understand perfectly
>> why a neon library cannot eliminate the leaks, see the comments in
>> ne_sock_init.
>
> Can't RPM just call OpenSSL's ERR_free_strings() explicitly itself in
> case it knows it is using NEON (we provide "WITH_NEON") and NEON is
> using SSL (<ne_utils.h> provides "NE_FEATURE_SSL")?
>

But doesn't that force rpm to also be explicitly (rather than  
implicitly) linked with openssl?

I can't justify linking openssl to get rid of a valgrind message ...

73 de Jeff
Received on Fri Nov 9 10:47:06 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.