Print

Print


URL:
  <http://savannah.cern.ch/bugs/?91483>

                 Summary: Memory leaks in XrdCrypto and XrdSecgsi
                 Project: XROOTD
            Submitted by: dhsmith
            Submitted on: 2012-02-13 14:07
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
      Fixed by commit(s): 

    _______________________________________________________

Details:

Hello,

While testing a new development, a CmsClient (aka Finder) plugin, I've
noticed some memory leaks around gsi security. In some cases the fix is a one
liner, in a couple of cases it's it involves a slight style change of the
internals of class (e.g. XrdCryptosslCipher) - in any case I've prepared
example fixes for the leaks, which can serve as documentation as to the
location of problems. The leak rate I saw was about 4kb each time a client
connected.

Involved:

XrdCrypto/XrdCryptosslRSA.cc
XrdCrypto/XrdCryptosslMsgDigest.cc
XrdCrypto/XrdCryptosslMsgDigest.hh
XrdCrypto/XrdCryptosslX509Crl.cc
XrdCrypto/XrdCryptosslCipher.cc
XrdCrypto/XrdCryptosslX509.cc
XrdSecgsi/XrdSecProtocolgsi.cc

Attaching diff of these (against recent git checkout) to the ticket.




    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?91483>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

########################################################################
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