curl-library
Memory leak in curl to support HTTPS
Date: Thu, 17 Dec 2009 17:23:22 +0800
Hi,
Sorry for last mail top-posting. I'm a newbie in curl world :)
There is a memory leak in curl 7.19.7 when I use it to do some HTTPS
connection with an HTTPS server. The openssl version is 0.9.7a.
The call-stack is :
==1041== 6,682 (460 direct, 6,222 indirect) bytes in 1 blocks are
definitely lost in loss record 364 of 364
==1041== at 0x4C8FA36: malloc (vg_replace_malloc.c:195)
==1041== by 0xB6FC4BD: ??? (in /lib/libcrypto.so.0.9.7a)
==1041== by 0xB6FCA6E: CRYPTO_malloc (in /lib/libcrypto.so.0.9.7a)
==1041== by 0xA910243: SSL_SESSION_new (in /lib/libssl.so.0.9.7a)
==1041== by 0xA910C14: ssl_get_new_session (in
/lib/libssl.so.0.9.7a)
==1041== by 0xA909CA4: ssl23_connect (in /lib/libssl.so.0.9.7a)
==1041== by 0xA90E03C: SSL_connect (in /lib/libssl.so.0.9.7a)
==1041== by 0xA338555: ossl_connect_common (in
/opt/nokia/oss/umanw3-5.0-nw3_pm-4.10.153/lib/libeptftpmx.so)
==1041== by 0xA339372: Curl_ossl_connect (in
/opt/nokia/oss/umanw3-5.0-nw3_pm-4.10.153/lib/libeptftpmx.so)
==1041== by 0xA3270D7: Curl_ssl_connect (in
/opt/nokia/oss/umanw3-5.0-nw3_pm-4.10.153/lib/libeptftpmx.so)
==1041== by 0xA32D8F6: Curl_http_connect (in
/opt/nokia/oss/umanw3-5.0-nw3_pm-4.10.153/lib/libeptftpmx.so)
==1041== by 0xA332718: Curl_protocol_connect (in
/opt/nokia/oss/umanw3-5.0-nw3_pm-4.10.153/lib/libeptftpmx.so)
Thanks.
Brs,
Guo Jingrui
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-17