Print

Print


Valgrind picked up the following leak in the xrootd code:

==3546745== 1,424 (56 direct, 1,368 indirect) bytes in 1 blocks are definitely lost in loss record 1,414 of 1,538
==3546745==    at 0x4C27BE3: malloc (vg_replace_malloc.c:299)
==3546745==    by 0x7CE2592: CRYPTO_malloc (mem.c:308)
==3546745==    by 0x7D6B0A9: EVP_PKEY_new (p_lib.c:186)
==3546745==    by 0x7D7A9D7: X509_PUBKEY_get (x_pubkey.c:147)
==3546745==    by 0x98D0406: XrdCryptosslX509::XrdCryptosslX509(char const*, char const*) (XrdCryptosslX509.cc:175)
==3546745==    by 0x98D7054: XrdCryptosslFactory::X509(char const*, char const*) (XrdCryptosslFactory.cc:338)
==3546745==    by 0x969BC9D: XrdSecProtocolgsi::VerifyCRL(XrdCryptoX509Crl*, XrdCryptoX509*, XrdOucString, XrdCryptoFactory*, int) (in /usr/lib64/libXrdSecgsi-4.so)
==3546745==    by 0x969C18E: XrdSecProtocolgsi::LoadCRL(XrdCryptoX509*, char const*, XrdCryptoFactory*, int, int&) (in /usr/lib64/libXrdSecgsi-4.so)
==3546745==    by 0x96A0B15: XrdSecProtocolgsi::GetCA(char const*, XrdCryptoFactory*, gsiHSVars*) (in /usr/lib64/libXrdSecgsi-4.so)
==3546745==    by 0x96A1921: XrdSecProtocolgsi::GetSrvCertEnt(XrdSutCacheRef&, XrdCryptoFactory*, long, XrdOucString&) (in /usr/lib64/libXrdSecgsi-4.so)
==3546745==    by 0x96A333A: XrdSecProtocolgsi::Init(gsiOptions, XrdOucErrInfo*) (in /usr/lib64/libXrdSecgsi-4.so)
==3546745==    by 0x96A6B7B: XrdSecProtocolgsiInit (in /usr/lib64/libXrdSecgsi-4.so)

It vaguely appears like a leak in the CRL verification path; happens once per CRL parse, so relatively low leak-rate.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Memory leaks of CRL in GSI code (#494)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/494"}}}

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1