Descent 3 by Outrage Entertainment
Go to file
Jan Engelhardt 9e03622b24 Resolve out-of-bounds in PolyCollideObject
(Observed in Retribution level 7 while interacting with an Old
Scratch robot.) Potentially might fix issue #530.

fvi_moveobj=-1
fvi_moveobj=101
fvi_moveobj=235
fvi_moveobj=374
fvi_moveobj=-378
fvi_moveobj=-378
fvi_moveobj=-374
==59260==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000003c8f058 at pc 0x0000012857fc bp 0x7ffffb094c50 sp 0x7ffffb094c48
READ of size 1 at 0x000003c8f058 thread T0
    f0  PolyCollideObject(object*) $GIT/physics/newstyle_fi.cpp:370
    f1  check_hit_obj(int) $GIT/physics/findintersection.cpp:3483
    f2  fvi_rooms_objs $GIT/physics/findintersection.cpp:4398
    f3  fvi_FindIntersection(fvi_query*, fvi_info*, bool) $GIT/physics/findintersection.cpp:2812
    f4 AquireElectricalTarget(object*) $GIT/Descent3/WeaponFire.cpp:1189
    f5 CreateAndFireWeapon(vector*, vector*, object*, int) $GIT/Descent3/WeaponFire.cpp:1326
    f6 FireWeaponFromObject(object*, int, int, bool, bool) $GIT/Descent3/WeaponFire.cpp:1887
    f7 WBFireBattery(object*, otype_wb_info*, int, int, float) $GIT/Descent3/robotfire.cpp:149
    f8 FireWeaponFromPlayer(object*, int, int, bool, float) $GIT/Descent3/WeaponFire.cpp:3004
    f9 DoFlyingControl(object*) $GIT/Descent3/object.cpp:2450
    f10 ObjDoFrame(object*) $GIT/Descent3/object.cpp:2668
    f11 ObjDoFrameAll() $GIT/Descent3/object.cpp:2988
    f12 GameFrame() $GIT/Descent3/GameLoop.cpp:2980
    f13 GameSequencer() $GIT/Descent3/gamesequence.cpp:1221
    f14 PlayGame() $GIT/Descent3/game.cpp:834
    f15 MainLoop() $GIT/Descent3/descent.cpp:555
    f16 Descent3() $GIT/Descent3/descent.cpp:508
    f17 oeD3LnxApp::run() $GIT/Descent3/sdlmain.cpp:151

0x000003c8f058 is located 52 bytes after global variable 'last_heartbeat' defined in '$GIT/Descent3/multi.cpp:9459:16' (0x3c8f020) of size 4
0x000003c8f058 is located 8 bytes before global variable 'guard variable for MultiSendHeartbeat()::last_heartbeat' defined in '$GIT/Descent3/multi.cpp:9459:16' (0x3c8f060) of size 8
2024-08-30 05:25:11 +02:00
.github Add release flow to GitHub Actions 2024-08-12 17:07:44 +03:00
2dlib [Cleanup] Removed function declarations that are not implemented. 2024-08-20 20:03:02 +02:00
AudioEncode CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
bitmap [Cleanup] Removed function declarations that are not implemented. 2024-08-20 20:03:02 +02:00
cfile Move platform-specific defines and macros to own file crossplat.h 2024-08-20 23:09:27 +03:00
cmake add rudimentary shaders and machinery 2024-08-18 02:52:46 -05:00
dd_grwin32 [Cleanup] Remove unused code. 2024-08-20 20:03:02 +02:00
dd_video
ddebug [Cleanup] Removed function declarations that are not implemented. 2024-08-20 20:03:02 +02:00
ddio Merge pull request #544 from winterheart/reactivate-editor 2024-08-26 22:17:12 +02:00
Descent3 Merge pull request #544 from winterheart/reactivate-editor 2024-08-26 22:17:12 +02:00
editor Reactivate editor building 2024-08-21 17:29:14 +03:00
fix CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
grtext [Cleanup] Removed function declarations that are not implemented. 2024-08-20 20:03:02 +02:00
legacy Move platform-specific defines and macros to own file crossplat.h 2024-08-20 23:09:27 +03:00
lib Merge pull request #544 from winterheart/reactivate-editor 2024-08-26 22:17:12 +02:00
libmve CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
linux Move platform-specific defines and macros to own file crossplat.h 2024-08-20 23:09:27 +03:00
manage DDIO: new crossplatform SleepMS() function 2024-08-20 23:08:10 +03:00
md5 CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
mem CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
misc [Misc] Deleted leftover empty logging code. 2024-08-20 20:03:02 +02:00
model Always use Multitexture 2024-08-18 03:26:06 -05:00
module Move platform-specific defines and macros to own file crossplat.h 2024-08-20 23:09:27 +03:00
music [Cleanup] Removed function declarations that are not implemented. 2024-08-20 20:03:02 +02:00
netcon Move platform-specific defines and macros to own file crossplat.h 2024-08-20 23:09:27 +03:00
netgames CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
networking
physics Resolve out-of-bounds in PolyCollideObject 2024-08-30 05:25:11 +02:00
renderer Merge pull request #545 from tophyr/pr/improve-render-perf 2024-08-27 23:19:55 +02:00
rtperformance CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
scripts Move platform-specific defines and macros to own file crossplat.h 2024-08-20 23:09:27 +03:00
sndlib [Cleanup] Removed function declarations that are not implemented. 2024-08-20 20:03:02 +02:00
stream_audio [Cleanup] Fixed mismatch between function declarations and implementations. 2024-08-20 20:03:02 +02:00
tests
third_party
tools
ui [UI] Replaced busy wait loop with a sleep. 2024-08-26 00:45:06 +02:00
unzip CMake: add all headers to target sources 2024-08-09 17:09:14 +02:00
vecmat
win32 WIN32: Replace ddio_FindFileStart() with ddio_DoForeachFile() 2024-08-15 11:50:36 +03:00
.clang-format
.clang-format-ignore
.editorconfig
.gitattributes
.gitignore
Brewfile
BUILD.md Set up transformations in vertex shader 2024-08-18 03:26:03 -05:00
CHANGELOG.md Prepare to next major version 1.6.0 2024-08-18 00:06:22 +03:00
CMakeLists.txt Merge pull request #542 from rfht/main 2024-08-20 18:30:23 +02:00
CMakePresets.json
LICENSE
README.md Split README between README, BUILD and USAGE files. 2024-08-15 01:02:10 +02:00
THIRD_PARTY.md
USAGE.md Split README between README, BUILD and USAGE files. 2024-08-15 01:02:10 +02:00
vcpkg.json Set up transformations in vertex shader 2024-08-18 03:26:03 -05: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.