Print

Print


```
==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 or view it on GitHub:
https://github.com/xrootd/xrootd/issues/855

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