diff options
author | Simon Howard | 2014-04-10 00:20:06 -0400 |
---|---|---|
committer | Simon Howard | 2014-04-10 00:20:06 -0400 |
commit | 174fe185ec8b05a1dc6ce8c49ffc5a0aa1c81855 (patch) | |
tree | bde77583d51fc504aea88be7a6c5491781da40ee /src/strife/p_maputl.c | |
parent | 46fb2a7c8c804bb1e131d32e900e408e2e751dbf (diff) | |
download | chocolate-doom-174fe185ec8b05a1dc6ce8c49ffc5a0aa1c81855.tar.gz chocolate-doom-174fe185ec8b05a1dc6ce8c49ffc5a0aa1c81855.tar.bz2 chocolate-doom-174fe185ec8b05a1dc6ce8c49ffc5a0aa1c81855.zip |
sound: Fix crash with large values of snd_channels.
Sanity check the handles passed to the i_sdlsound.c API functions and
ignore requests that involve channel numbers higher than 15. This
fixes a crash if the user sets the snd_channels config variable is set
to a high value. This fixes #149 (thanks Alexandre Xavier).
Diffstat (limited to 'src/strife/p_maputl.c')
0 files changed, 0 insertions, 0 deletions