Hi Rod,

Thank you for reporting this problem. Regarding your question whether we support file://: yes we do.

The problem is that in here:
https://github.com/xrootd/xrootd/blob/0421cef2564a111fda854fa3f3629bca9e091f80/src/XrdApps/XrdCpFile.cc#L102

the parameters of strcpy are overlapping buffers which results with undefined behaviour (probably strcpy implementation on slc6 is bit different and that's why it works on slc6).

I will push a bugfix on Monday and include it in next bugfix release.

Again, thanks for reporting!

Cheers,
Michal


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@simonmichal in #925: Hi Rod,\r\n\r\nThank you for reporting this problem. Regarding your question whether we support file://: yes we do.\r\n\r\nThe problem is that in here:\r\nhttps://github.com/xrootd/xrootd/blob/0421cef2564a111fda854fa3f3629bca9e091f80/src/XrdApps/XrdCpFile.cc#L102\r\n\r\nthe parameters of _strcpy_ are overlapping buffers which results with undefined behaviour (probably _strcpy_ implementation on slc6 is bit different and that's why it works on slc6).\r\n\r\nI will push a bugfix on Monday and include it in next bugfix release.\r\n\r\nAgain, thanks for reporting!\r\n\r\nCheers,\r\nMichal"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/925#issuecomment-473265197"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/925#issuecomment-473265197", "url": "https://github.com/xrootd/xrootd/issues/925#issuecomment-473265197", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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