Print

Print


Commit 22d308a likely fixes this, but it looks like commit a20fe39385 could have introduced a potential off by one error. The function where the message comes from is below.

https://github.com/xrootd/xrootd/blob/v5.5.1/src/XrdCms/XrdCmsCluster.cc#L2031-L2045

If `n` could be off by one here, it could cause an extra `'\0'` character to be shown in the output due to `Sel.Resp.Data` containing two `NUL` characters at the end instead of just one.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1501#issuecomment-1333983315
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

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