==27163==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300013c188 at pc 0x7efdabfab17b bp 0x7efd95786440 sp 0x7efd95786430
READ of size 16 at 0x60300013c188 thread T20
    #0 0x7efdabfab17a in XrdCl::XRootDTransport::ProcessProtocolResp(XrdCl::HandShakeData*, XrdCl::XRootDChannelInfo*) /usr/src/debug/xrootd-4.8.
5-1.fc28.asan.x86_64/xrootd/src/XrdCl/XrdClXRootDTransport.cc:1383
    #1 0x7efdabfb2ed2 in XrdCl::XRootDTransport::HandShakeMain(XrdCl::HandShakeData*, XrdCl::AnyObject&) /usr/src/debug/xrootd-4.8.5-1.fc28.asan.
x86_64/xrootd/src/XrdCl/XrdClXRootDTransport.cc:365
    #2 0x7efdabfb3c13 in XrdCl::XRootDTransport::HandShake(XrdCl::HandShakeData*, XrdCl::AnyObject&) /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_
64/xrootd/src/XrdCl/XrdClXRootDTransport.cc:320
    #3 0x7efdac10ce88 in XrdCl::AsyncSocketHandler::OnReadWhileHandshaking() /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_64/xrootd/src/XrdCl/XrdC
lAsyncSocketHandler.cc:762
    #4 0x7efdac111344 in XrdCl::AsyncSocketHandler::Event(unsigned char, XrdCl::Socket*) /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_64/xrootd/sr
c/XrdCl/XrdClAsyncSocketHandler.cc:234
    #5 0x7efdabf7231f  (/usr/lib64/libXrdCl.so.2+0xee31f)
    #6 0x7efda8a8a8c6 in XrdSys::IOEvents::Poller::CbkXeq(XrdSys::IOEvents::Channel*, int, int, char const*) (/usr/lib64/libXrdUtils.so.2+0x698c6
)
    #7 0x7efda8a8e87a in XrdSys::IOEvents::PollE::Dispatch(XrdSys::IOEvents::Channel*, unsigned int) /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_64/xrootd/src/./XrdSys/XrdSysIOEventsPollE.icc:270
    #8 0x7efda8a8ee9e in XrdSys::IOEvents::PollE::Begin(XrdSysSemaphore*, int&, char const**) /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_64/xrootd/src/./XrdSys/XrdSysIOEventsPollE.icc:225
    #9 0x7efda8a8493f in XrdSys::IOEvents::BootStrap::Start(void*) /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_64/xrootd/src/XrdSys/XrdSysIOEvents.cc:131
    #10 0x7efda8a7f789 in XrdSysThread_Xeq /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_64/xrootd/src/XrdSys/XrdSysPthread.cc:86
    #11 0x7efda7ecb593 in start_thread (/usr/lib64/libpthread.so.0+0x7593)
    #12 0x7efda7bfee6e in clone (/usr/lib64/libc.so.6+0xf9e6e)

0x60300013c196 is located 0 bytes to the right of 22-byte region [0x60300013c180,0x60300013c196)
allocated by thread T20 here:
    #0 0x7efdac960088 in __interceptor_realloc (/usr/lib64/libasan.so.5+0xef088)
    #1 0x7efdabf9c792 in XrdCl::XRootDTransport::GetBody(XrdCl::Message*, int) /usr/src/debug/xrootd-4.8.5-1.fc28.asan.x86_64/xrootd/src/./XrdCl/XrdClBuffer.hh:73

Thread T20 created by T19 here:
    #0 0x7efdac8bc443 in pthread_create (/usr/lib64/libasan.so.5+0x4b443)
    #1 0x7efda8a7fd2a in XrdSysThread::Run(unsigned long*, void* (*)(void*), void*, int, char const*) (/usr/lib64/libXrdUtils.so.2+0x5ed2a)

Thread T19 created by T18 here:
    #0 0x7efdac8bc443 in pthread_create (/usr/lib64/libasan.so.5+0x4b443)
    #1 0x7efdac43f228  (/usr/lib64/libfuse.so.2+0x13228)Thread T18 created by T0 here:
    #0 0x7efdac8bc443 in pthread_create (/usr/lib64/libasan.so.5+0x4b443)
    #1 0x7efdac43f228  (/usr/lib64/libfuse.so.2+0x13228)


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://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"XrdCl: Heap-buffer-overflow in XRootDTransport::ProcessProtocolResp (#855)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/855"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/855", "url": "https://github.com/xrootd/xrootd/issues/855", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "XrdCl: Heap-buffer-overflow in XRootDTransport::ProcessProtocolResp (#855)", "sections": [ { "text": "", "activityTitle": "**Georgios Bitzes**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@gbitzes", "facts": [ { "name": "Repository: ", "value": "xrootd/xrootd" }, { "name": "Issue #: ", "value": 855 } ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 855,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 855\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd/issues/855" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 409338858\n}" } ], "themeColor": "26292E" } ]

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