like this: ``` ================================================================= ==133802==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61d000161108 at pc 0x5555562d5c8c bp 0x7ffffffa3a70 sp 0x7ffffffa3220 READ of size 40 at 0x61d000161108 thread T0 #0 0x5555562d5c8b in __asan_memcpy (/home/daniel/Desktop/other_repos/ddnet_master/build/DDNet+0xd81c8b) #1 0x555557361145 in CGameClient::OnNewSnapshot() /home/daniel/Desktop/other_repos/ddnet_master/src/game/client/gameclient.cpp:1294:53 #2 0x555556813b4d in CClient::ProcessServerPacket(CNetChunk*, int, bool) /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:2134:22 #3 0x555556821f9a in CClient::PumpNetwork() /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:2544:4 #4 0x555556833c89 in CClient::Update() /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:2860:2 #5 0x555556844e68 in CClient::Run() /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:3260:4 #6 0x55555689ee23 in main /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:4643:11 #7 0x7ffff4e2928f (/usr/lib/libc.so.6+0x2928f) #8 0x7ffff4e29349 in __libc_start_main (/usr/lib/libc.so.6+0x29349) #9 0x55555622c1c4 in _start /build/glibc/src/glibc/csu/../sysdeps/x86_64/start.S:115 0x61d000161108 is located 0 bytes to the right of 2184-byte region [0x61d000160880,0x61d000161108) allocated by thread T0 here: #0 0x5555562d6e49 in __interceptor_malloc (/home/daniel/Desktop/other_repos/ddnet_master/build/DDNet+0xd82e49) #1 0x555557a89311 in CSnapshotStorage::Add(int, long, int, void*, int, void*) /home/daniel/Desktop/other_repos/ddnet_master/src/engine/shared/snapshot.cpp:485:32 #2 0x555556811ae6 in CClient::ProcessServerPacket(CNetChunk*, int, bool) /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:2090:30 #3 0x555556821f9a in CClient::PumpNetwork() /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:2544:4 #4 0x555556833c89 in CClient::Update() /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:2860:2 #5 0x555556844e68 in CClient::Run() /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:3260:4 #6 0x55555689ee23 in main /home/daniel/Desktop/other_repos/ddnet_master/src/engine/client/client.cpp:4643:11 #7 0x7ffff4e2928f (/usr/lib/libc.so.6+0x2928f) SUMMARY: AddressSanitizer: heap-buffer-overflow (/home/daniel/Desktop/other_repos/ddnet_master/build/DDNet+0xd81c8b) in __asan_memcpy Shadow bytes around the buggy address: 0x0c3a800241d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3a800241e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3a800241f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3a80024200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3a80024210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c3a80024220: 00[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c3a80024230: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c3a80024240: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c3a80024250: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c3a80024260: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c3a80024270: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 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 ```