summaryrefslogtreecommitdiff
path: root/textscreen
diff options
context:
space:
mode:
authorSimon Howard2014-04-10 00:20:06 -0400
committerSimon Howard2014-04-10 00:20:06 -0400
commit174fe185ec8b05a1dc6ce8c49ffc5a0aa1c81855 (patch)
treebde77583d51fc504aea88be7a6c5491781da40ee /textscreen
parent46fb2a7c8c804bb1e131d32e900e408e2e751dbf (diff)
downloadchocolate-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 'textscreen')
0 files changed, 0 insertions, 0 deletions