mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
b9fbee0e25
vp[26] is `int *`, so it tries to read 4 bytes on amd64, even though TCP_Active, which is behind vp[26] is just a bool and 1 byte. ==95927==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000004734f40 at pc 0x7f4f8d93b952 bp 0x7ffc57f191b0 sp 0x7ffc57f191a8 READ of size 4 at 0x000004734f40 thread T0 f0 DLLMultiInit $GIT/netcon/includes/mdllinit.h:314 f1 LoadMultiDLL(char const*) $GIT/Descent3/multi_dll_mgr.cpp:690 f2 RunServerConfigs $GIT/Descent3/dedicated_server.cpp:236 f3 LoadServerConfigFile() $GIT/Descent3/dedicated_server.cpp:357 f4 InitDedicatedServer $GIT/Descent3/init.cpp:1778 f5 InitD3Systems2(bool) $GIT/Descent3/init.cpp:1952 f6 Descent3() $GIT/Descent3/descent.cpp:504 f7 oeD3LnxApp::run() $GIT/Descent3/sdlmain.cpp:151 0x000004734f41 is located 0 bytes after global variable 'TCP_active' defined in '$GIT/networking/networking.cpp:383:6' (0x4734f40) of size 1 SUMMARY: AddressSanitizer: global-buffer-overflow $GIT/netcon/includes/mdllinit.h:314 in DLLMultiInit |
||
---|---|---|
.. | ||
includes | ||
inetfile | ||
lanclient | ||
mtclient | ||
CMakeLists.txt |