Print

Print


@osschar : I was able to reproduce the problem you've spotted with valgrind and here's the respective fix: d0eca52
It's great that you've been able to trigger it, it was definitely a dangerous corner case! The long story short, due to this memory realloc:
https://github.com/xrootd/xrootd/blob/d0eca522e849a5f56d5e5a77f423e5d7b1b5dd1e/src/XrdCl/XrdClXRootDTransport.cc#L712
a pointer to ClientRequestHdr that is being used to release SID became invalid (this could only happen in case of connection problem, and only for read requests).

I ported both commits to the _stable-4.9.x_ branch, maybe you could test and then we can close this issue?

-- 
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/943#issuecomment-476676591

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