[Scummvm-tracker] [ScummVM :: Bugs] #13867: AUDIO: SCUMM: buffer-overflow in MidiDriver_ADLIB::adlibPlayNote (ASAN)
ScummVM :: Bugs
trac at scummvm.org
Thu Sep 29 09:11:06 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 dwatteau):
I wonder if this isn't just a matter of changing the `note2` variable from
int to byte, in MidiDriver_ADLIB::adlibPlayNote().
But I'll let someone with more knowledge about audio and Adlib code check
if that's the case.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13867#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list