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 or view it on GitHub:
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