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 /textscreen/txt_io.h | |
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 'textscreen/txt_io.h')
0 files changed, 0 insertions, 0 deletions