[Scummvm-tracker] [ScummVM :: Bugs] #13867: AUDIO: SCUMM: buffer-overflow in MidiDriver_ADLIB::adlibPlayNote (ASAN)
ScummVM :: Bugs
trac at scummvm.org
Fri Sep 30 01:14:39 UTC 2022
#13867: AUDIO: SCUMM: buffer-overflow in MidiDriver_ADLIB::adlibPlayNote (ASAN)
-------------------------------------------+---------------------
Reporter: dwatteau | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Audio
Version: | Resolution:
Keywords: adlibPlayNote,asan,scumm,adlib | Game:
-------------------------------------------+---------------------
Comment (by athrxx):
Thanks, I have fixed it. It seems to be a bug in the original driver, too
(it isn't supposed to eat note2 values >= 128).
But maybe the values that get passed from adlibSetParam are wrong, too. I
haven't checked that.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13867#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list