lilium-voyager/code/client
Simon McVittie c5b6bb0d4b snd_wavelet: avoid undefined pointer below array bounds
Given an array b[] of length n, pointers to &b[0]..&b[n] are defined
(where only &b[0]..&b[n-1] can be validly dereferenced). &b[-1], or
equivalently b-1, is not something we can use in valid Standard C.

gcc 6 diagnoses this as:

code/client/snd_wavelet.c:33:9: warning: array subscript is below array bounds [-Warray-bounds]

and might take this undefined behaviour as permission to emit
"more efficient" object code that is not what the author expected,
for example nothing at all. Use a macro to fake a 1-based array instead.
2016-09-25 17:13:40 +01:00
..
cl_avi.c Remove unused function WRITE_1BYTES from cl_avi.c 2015-06-28 17:55:51 -05:00
cl_cgame.c Use Opus for VoIP 2016-01-06 05:19:10 -06:00
cl_cin.c Prevent CL_RunCinematic from reading cinTable[-1] 2016-06-15 13:58:26 -05:00
cl_console.c Use ColorIndexForNumber in Con_DrawSolidConsole 2014-08-29 01:55:47 -05:00
cl_curl.c Now with less infinite recursion 2015-09-26 10:54:16 +01:00
cl_curl.h Fix Makefile for OSX 2016-06-12 17:17:33 -04:00
cl_input.c Better gamepad support. 2016-08-08 02:36:10 -07:00
cl_keys.c Better gamepad support. 2016-08-08 02:36:10 -07:00
cl_main.c Better defaults for joystick axes. 2016-08-04 21:31:26 -07:00
cl_net_chan.c - Improve snapshot rate and data rate control 2011-07-13 17:11:30 +00:00
cl_parse.c Fix some opus_decode issues 2016-01-06 05:19:10 -06:00
cl_scrn.c don't clear screen during CA_LOADING and CA_PRIMED 2014-01-23 13:44:36 -08:00
cl_ui.c Fix resolving IPv6 favorites in Team Arena UI 2013-02-08 16:47:27 -06:00
client.h Use Opus for VoIP 2016-01-06 05:19:10 -06:00
keycodes.h Better gamepad support. 2016-08-08 02:36:10 -07:00
keys.h * Don't apply colour escape chars on input fields 2007-09-21 10:35:24 +00:00
libmumblelink.c Ensure that mbstowcs does not overflow its buffer 2015-01-07 23:37:11 +00:00
libmumblelink.h update mumble link interface for version 1.2 2010-01-04 14:12:18 +00:00
qal.c Remove references to alDopplerVelocity 2014-02-22 18:06:04 -06:00
qal.h Fix Makefile for OSX 2016-06-12 17:17:33 -04:00
snd_adpcm.c Fix some of the things clang --analyze flagged 2013-03-26 16:50:03 +00:00
snd_codec.c Add Ogg Opus support 2013-02-17 18:32:05 -06:00
snd_codec.h Add Ogg Opus support 2013-02-17 18:32:05 -06:00
snd_codec_ogg.c Support FS_SEEK_END and negative offset for zipped files in FS_Seek 2013-11-08 18:43:34 -06:00
snd_codec_opus.c Support FS_SEEK_END and negative offset for zipped files in FS_Seek 2013-11-08 18:43:34 -06:00
snd_codec_wav.c Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
snd_dma.c Remove unused code path from S_Base_StartBackgroundTrack 2014-01-12 18:16:39 -06:00
snd_local.h Fix playback of stereo sounds in Base sound system 2013-12-15 00:23:10 -06:00
snd_main.c Remove unneeded name buffer in S_Play_f. 2012-11-18 23:30:26 +00:00
snd_mem.c Revert "DMA 44100Hz needs more memory for sound buffers" 2014-03-17 13:44:30 -05:00
snd_mix.c Fix Makefile for OSX 2016-06-12 17:17:33 -04:00
snd_openal.c Fix Makefile for OSX 2016-06-12 17:17:33 -04:00
snd_public.h REFACTOR [reletive -> relative] 2012-06-18 16:32:03 +00:00
snd_wavelet.c snd_wavelet: avoid undefined pointer below array bounds 2016-09-25 17:13:40 +01:00