================================================================= ==21337==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x629000013e47 at pc 0x7f9e0fc57857 bp 0x7f9df8ebc440 sp 0x7f9df8ebbbf0 READ of size 17487 at 0x629000013e47 thread T2 #0 0x7f9e0fc57856 in StrtolFixAndCheck ../../../../libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3059 #1 0x7f9e0fc57f59 in __interceptor_strtol ../../../../libsanitizer/asan/asan_interceptors.cc:451 #2 0x7f9df54910c3 (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x1330c3) #3 0x7f9df54c51af in my_xml_parse(MY_XML_PARSER*, char const*, unsigned long) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x1671af) #4 0x7f9df5491a85 in my_parse_charset_xml(MY_CHARSET_LOADER*, char const*, unsigned long) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x133a85) #5 0x7f9df5426da8 (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xc8da8) #6 0x7f9df5427b8d (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xc9b8d) #7 0x7f9e0d3e1e3f in __pthread_once (/lib64/libpthread.so.0+0xce3f) #8 0x7f9df54284fc in my_charset_get_by_name(MY_CHARSET_LOADER*, char const*, unsigned int, int) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xca4fc) #9 0x7f9df54285fa in get_charset_by_csname(char const*, unsigned int, int) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xca5fa) #10 0x7f9df53df015 in myodbc_init() (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x81015) #11 0x7f9df53e2afc in my_SQLAllocEnv(void**) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x84afc) #12 0x7f9df53e4637 in SQLAllocHandle (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x86637) #13 0x7f9df708d6ea (/build/TC71469_GAS/11.3.0200.1460/RELEASE/BIN/Linux/lib/libodbc.so+0xe26ea) #14 0x7f9df708d370 (/build/TC71469_GAS/11.3.0200.1460/RELEASE/BIN/Linux/lib/libodbc.so+0xe2370) #15 0x7f9df707e849 (/build/TC71469_GAS/11.3.0200.1460/RELEASE/BIN/Linux/lib/libodbc.so+0xd3849) #16 0x7f9df7077bd2 (/build/TC71469_GAS/11.3.0200.1460/RELEASE/BIN/Linux/lib/libodbc.so+0xccbd2) #17 0x7f9df705d132 in SQLDriverConnectW (/build/TC71469_GAS/11.3.0200.1460/RELEASE/BIN/Linux/lib/libodbc.so+0xb2132) #18 0x7f9df732cf5a in MDb::Odbc35::Odbc::SQLDriverConnectW(MDb::Error&, MDb::DATABASE_TYPE, MDb::ODBCDriverVendor, void*, void*, void*, wchar_t const*, short, wchar_t*, short, short*, unsigned short, wchar_t const*, wchar_t const*, wchar_t const*) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/Database/Odbc35/PrivateSource/Odbc.cpp:514 #19 0x7f9df734dc6b in MDb::Odbc35::OdbcConnection::Connect(MDb::Error&) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/Database/Odbc35/PrivateSource/OdbcConnection.cpp:554 #20 0x7f9df88900c3 in MMultiProcess::SynchExecute1Parameter1OutParameterResultCommandImpl::Run() /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/MultiProcess/Defines/SynchExecute1Parameter1OutParameterResultCommandImpl.h:90 #21 0x7f9e0f394aaa in MMultiProcess::MultithreadedExecutor::Run() /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/MultiProcess/ProcessCommunicator/PrivateSource/MultithreadedExecutor.cpp:323 #22 0x7f9e0f658c07 in MSynch::ThreadImpl::ThreadFunction(void*) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/Synch/Synch/PrivateSource/ThreadImpl.cpp:185 #23 0x7f9e0d3dcdd4 in start_thread (/lib64/libpthread.so.0+0x7dd4) #24 0x7f9e0d105eac in __clone (/lib64/libc.so.6+0xfdeac) 0x629000013e47 is located 0 bytes to the right of 19527-byte region [0x62900000f200,0x629000013e47) allocated by thread T2 here: #0 0x7f9e0fcacc90 in __interceptor_malloc ../../../../libsanitizer/asan/asan_malloc_linux.cc:86 #1 0x7f9df542d7af in my_malloc(unsigned int, unsigned long, int) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xcf7af) #2 0x7f9df5426bd3 (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xc8bd3) #3 0x7f9df5427b8d (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xc9b8d) #4 0x7f9e0d3e1e3f in __pthread_once (/lib64/libpthread.so.0+0xce3f) #5 0x7f9df54285fa in get_charset_by_csname(char const*, unsigned int, int) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xca5fa) #6 0x7f9df53df015 in myodbc_init() (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x81015) Thread T2 created by T0 here: #0 0x7f9e0fc14720 in __interceptor_pthread_create ../../../../libsanitizer/asan/asan_interceptors.cc:202 #1 0x7f9e0f659c9e in MSynch::ThreadImpl::ThreadImpl(MSynch::Runnable*) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/Synch/Synch/PrivateSource/ThreadImpl.cpp:325 #2 0x7f9e0f659e1a in MSynch::SpawnThread(MSynch::Runnable*) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/Synch/Synch/PrivateSource/ThreadImpl.cpp:62 #3 0x7f9e0f396723 in MMultiProcess::MultithreadedExecutor::MultithreadedExecutor(unsigned int, MMultiProcess::BindingInformationImpl*, MMultiProcess::MultithreadedExecutor::LOGGING_INIT) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/MultiProcess/ProcessCommunicator/PrivateSource/MultithreadedExecutor.cpp:59 #4 0x7f9e0f33e082 in MMultiProcess::ChildCommandRunnerImpl::ChildCommandRunnerImpl(char, int, int, bool) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/MultiProcess/ProcessCommunicator/PrivateSource/ChildCommandRunner.cpp:179 #5 0x7f9e0f33f48d in MMultiProcess::CreateChildCommandRunner(char, int, int, bool) /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/MultiProcess/ProcessCommunicator/PrivateSource/ChildCommandRunner.cpp:67 #6 0x40aac1 in main /var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/MultiProcess/MultiProcess/PrivateSource/Multiprocess.cpp:294 #7 0x7f9e0d02a3d4 in __libc_start_main (/lib64/libc.so.6+0x223d4) SUMMARY: AddressSanitizer: heap-buffer-overflow ../../../../libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3059 in StrtolFixAndCheck Shadow bytes around the buggy address: 0x0c527fffa770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c527fffa780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c527fffa790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c527fffa7a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c527fffa7b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c527fffa7c0: 00 00 00 00 00 00 00 00[07]fa fa fa fa fa fa fa 0x0c527fffa7d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c527fffa7e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c527fffa7f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c527fffa800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c527fffa810: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==21337==ABORTING