ioq3/code
Mickaël Thomas 84daa28267 Fix memory corruption in S_TransferPaintBuffer
When using a non-default sound configuration (such as 6 channels), after
a long time (about 4.5hours for 6 channels at 22050 Hz) an overflow will
occur in `S_TransferPaintBuffer`, causing an out of bounds write into
the dma buffer.

The problematic line is:
```
out_idx = (s_paintedtime * dma.channels) % dma.samples;
```

With `s_paintedtime` large enough, the result of the multiplication will
overflow to a negative number (since `s_paintedtime` is signed), and the
index into the output buffer will be negative.
2021-12-08 18:46:58 +00:00
..
AL 5882 - Update OpenAL Headers to OpenAL Soft 1.15.1 2013-02-17 07:34:41 -06:00
asm Upgrades to Xcode project and Apple Silicon support 2021-07-06 17:30:27 -05:00
autoupdater Use "x86_64" and not "x86-64" like everything else in ioq3. 2017-06-04 02:46:49 -04:00
botlib Fix uninitialized bot_goal_t fields 2018-04-26 11:22:55 -05:00
cgame Fix lightning gun handling for corpses and single player podiums 2019-10-11 20:55:57 -05:00
client Fix memory corruption in S_TransferPaintBuffer 2021-12-08 18:46:58 +00:00
curl-7.54.0/include E2K: fixed build by MCST lcc compiler when using USE_CURL=1 option 2019-12-07 08:16:15 -05:00
game Restore bots crushing unseen player on q3tourney6 in non-CTF 2021-02-27 00:26:03 -05:00
jpeg-8c Mark JPEG lib changes, file provided by Simon McVittie 2012-07-01 18:07:56 +00:00
libogg-1.3.3 Rename (already updated) libogg-1.3.2 to libogg-1.3.3 2018-03-16 13:11:27 -05:00
libs Updated SDL 2.0.16 headers and Mac version of libraries to fix GitHub actions 2021-10-02 21:54:26 -05:00
libvorbis-1.3.6 Rename (already updated) libvorbis-1.3.5 to libvorbis-1.3.6 2018-03-16 13:29:19 -05:00
null Added audio capture support to SDL backend. 2018-04-13 22:38:17 -04:00
opus-1.2.1 Restored original opus sse files, excluded from Xcode 2021-07-06 17:30:27 -05:00
opusfile-0.9 Rename (already updated) opusfile-0.8 to opusfile-0.9 2018-03-16 13:29:20 -05:00
q3_ui Fix team orders menu not listing clients with lower clientnums 2019-10-28 23:13:57 -05:00
qcommon Fix passing arguments to VM dylib on Apple M1 2021-11-19 14:54:59 -05:00
renderercommon Restore OpenGL 1.1 support (GL_CLAMP) 2019-05-28 22:44:57 -05:00
renderergl1 Print full GL_EXTENSIONS list for OpenGL contexts before 3.0 2021-10-23 07:31:38 -04:00
renderergl2 OpenGL2: GL_DEPTH_TEXTURE_MODE was removed from OpenGL 3.0/Core 2021-10-23 12:49:48 -04:00
sdl Fix compiling against SDL 2.0.17 2021-08-15 12:07:02 -04:00
SDL2 Updated SDL 2.0.16 headers and Mac version of libraries to fix GitHub actions 2021-10-02 21:54:26 -05:00
server Fix client kicked as unpure when missing the latest cgame/ui pk3s 2018-05-22 14:43:11 -05:00
sys Fix passing arguments to VM dylib on Apple M1 2021-11-19 14:54:59 -05:00
tools Avoid platform sed differences 2020-09-08 13:25:50 +01:00
ui Override video mode list in Team Arena UI 2019-04-16 00:02:27 -05:00
zlib drop some useless return statements 2013-05-30 15:43:21 -05:00