[??-g94e222afe] "snd_mididevice -4" buffer overflow

Fri Apr 19, 2019 8:12 am

When I try to switch to that device, I got this crash with the address sanitizer:

Spoiler:


I'm using as soundfont the SC-55.sf2 , if it may help.

Steps to reproduce:

Code:
gzdoom -iwad DOOM2.WAD +"snd_mididevice -4"


OS: Ubuntu 18.04 x64 , with audio driver "Built-in Audio Analog Stereo".