Jan Engelhardt 7f25752440 Guard against garbage resolution index in the registry
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*)
2025-05-27 00:27:59 +02:00
2025-03-07 19:52:32 +01:00
2024-09-18 22:50:08 +03:00
2024-11-29 17:14:09 +03:00
2025-04-12 01:57:43 -05:00
2024-09-25 23:47:03 +03:00
2024-04-17 00:25:04 +03:00
2024-05-21 11:11:16 -04:00
2024-09-03 13:26:51 +02:00
2024-09-10 03:00:26 +03:00

d3 (1)

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.

Description
Descent 3 by Outrage Entertainment
Readme GPL-3.0 33 MiB
Languages
C++ 91.7%
C 7%
omnetpp-msg 1%
CMake 0.2%