OSDN Git Service

Fix reverb buffer-overrun issue
authoryta <yta@inter7.jp>
Thu, 21 Aug 2014 02:01:54 +0000 (11:01 +0900)
committerTAMUKI Shoichi <tamuki@linet.gr.jp>
Thu, 21 Aug 2014 02:01:54 +0000 (11:01 +0900)
commit2bf8c9431e7d7b17dbcc252deee80bedbef724a6
tree6c68794f08f4b410864d5ef8362dc3fea4050ef3
parent18857b89c52fa8ac8f5329e0310ef8f2afc8352e
Fix reverb buffer-overrun issue

Add code to check the upper limit of the index.  TiMidity++ to buffer-
overrun when the value of the reverb_status_gs.character was a 6 or 7.
info->index is set to a value out of range when the value of the
"Reverb Time" was -64.

Signed-off-by: yta <yta@inter7.jp>
timidity/reverb.c