mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-13 20:00:01 -04:00
7f257524406128d4f2f6b7befda454ee809b8ddb
When using a registry file created by commit real-1.5.0-590-g72cca136
with an executable built from commit real-1.5.0-533-gc99e57cf, there
is a startup crash due to unsanitized values read from the registry.
(There are much more resolutions available in 590 than 533.)
==19328==ERROR: AddressSanitizer: global-buffer-overflow on address
0x0000027dee44 [line numbers as per c99e57cf]
READ of size 2 at 0x0000027dee44 thread T0
f0 opengl_Setup(oeApplication*, int const*, int const*) renderer/HardwareOpenGL.cpp:356
f1 opengl_Init(oeApplication*, renderer_preferred_state*) renderer/HardwareOpenGL.cpp:590
f2 rend_Init(renderer_type, oeApplication*, renderer_preferred_state*) renderer/HardwareOpenGL.cpp:1299
f3 SetScreenMode(int, bool) Descent3/game.cpp:962
f4 Descent3() Descent3/descent.cpp:478
f5 oeD3LnxApp::run() Descent3/sdlmain.cpp:142
f6 main Descent3/sdlmain.cpp:322
0x0000027dee44 is located 32 bytes after global variable 'Default_detail_level' defined in 'Descent3/config.cpp:316:5' (0x0000027dee20) of size 4
0x0000027dee44 is located 28 bytes before global variable 'Game_toggles' defined in 'Descent3/config.cpp:318:14' (0x0000027dee60) of size 3
SUMMARY: AddressSanitizer: global-buffer-overflow renderer/HardwareOpenGL.cpp:356 in opengl_Setup(oeApplication*, int const*, int const*)
This is the Descent 3 open source engine, licensed under GPL-3.0. It includes the '1.5' patch written by Kevin Bentley and Jeff Slutter several years ago and brought to a stable condition by the Descent community.
In order to use this, you must provide your own game files. See the USAGE.md file for details about installation.
To build the game, follow build instructions in the BUILD.md file.
Build or runtime issues should be reported on our GitHub tracker.
Contributing
Anyone can contribute! We have an active Discord presence at Descent Developer Network. Patches should be submitted on GitHub.
Languages
C++
91.7%
C
7%
omnetpp-msg
1%
CMake
0.2%