Print

Print


Update of bug #97180 (project xrootd):

                  Status:               Need Info => Remind                 

    _______________________________________________________

Follow-up Comment #5:

The code looks to me that there is no protection that the LoadGMAP function
can be called in parallel by concurrent authentication  processes when the
GridMAP file is rewritten because the lastCheck time is only updated at the
end of the function. This allows some race condition's in object deletion
(which we observe = double free).

I would try to add this:


int XrdSecProtocolgsi::LoadGMAP(int now)
{
...
static XrdSysMutex loadMutex;
XrdSysHelper lLock(&loadMutex);
...


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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