This fixes an incorrect copy (which should have been a reference, resulting in a leak) and a use-after-free found by valgrind. Those are in the multistream code and, I believe, currently rarely used.
It also fixes a potential pointer deref - if libcurl failed to malloc a new handle, then we used the handle before checking for a null pointer. I also consider this fairly unlikely to occur in reality but a worthwhile fix.
https://github.com/xrootd/xrootd/pull/1423
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
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