Skip to content

Instantly share code, notes, and snippets.

@Learath2
Created June 13, 2020 14:01
Show Gist options
  • Save Learath2/327d000bccd365769066a3948d106b1c to your computer and use it in GitHub Desktop.
Save Learath2/327d000bccd365769066a3948d106b1c to your computer and use it in GitHub Desktop.
Uninitialized bytes in MemcmpInterceptorCommon at offset 0 inside [0x7ffd6a465480, 16)
==11146==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x559813d28907 in memcmp (/vagrant/ddnet/cross/DDNet-Server+0xc6907)
#1 0x559813de2cc9 in mem_comp /vagrant/ddnet/cross/../src/base/system.c:2831:9
#2 0x559813dd50b9 in CUuid::operator==(CUuid const&) /vagrant/ddnet/cross/../src/engine/shared/uuid_manager.cpp:60:9
#3 0x559813dd5480 in CUuidManager::LookupUuid(CUuid) const /vagrant/ddnet/cross/../src/engine/shared/uuid_manager.cpp:103:11
#4 0x559813dd52ba in CUuidManager::RegisterName(int, char const*) /vagrant/ddnet/cross/../src/engine/shared/uuid_manager.cpp:84:2
#5 0x559813dca95f in RegisterUuids(CUuidManager*) /vagrant/ddnet/cross/../src/engine/shared/protocol_ex_msgs.h:23:1
#6 0x559813dab9ce in CreateGlobalUuidManager() /vagrant/ddnet/cross/../src/engine/shared/global_uuid_manager.cpp:10:2
#7 0x559813ccb6f2 in __cxx_global_var_init /vagrant/ddnet/cross/../src/engine/shared/global_uuid_manager.cpp:16:30
#8 0x559813ccb762 in _GLOBAL__sub_I_global_uuid_manager.cpp /vagrant/ddnet/cross/../src/engine/shared/global_uuid_manager.cpp
#9 0x559813ee26cc in __libc_csu_init (/vagrant/ddnet/cross/DDNet-Server+0x2806cc)
#10 0x7f8a80c11f8d in __libc_start_main (/usr/lib/libc.so.6+0x26f8d)
#11 0x559813ccd34d in _start (/vagrant/ddnet/cross/DDNet-Server+0x6b34d)
SUMMARY: MemorySanitizer: use-of-uninitialized-value (/vagrant/ddnet/cross/DDNet-Server+0xc6907) in memcmp
Exiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment