On Fri Mar 20 10:30:59 2026 +0000, Giovanni Mascellani wrote:
To make handling this easier, is it ok to squash it into one patch, and add a "Co-authored-by: Giovanni Mascellani gmascellani@codeweavers.com"? Sure, that's what I intended. Is this probably an issue of `WINMM_OpenDevice` by handling all `info->format->wFormatTag` different than `WAVE_FORMAT_PCM` with a `malloc(sizeof(WAVEFORMATEX) + info->format->cbSize)`? Right. Well, let's just move the `cbSize` check before copying the format. I updated the fixup in my branch, can you have another run with it? Thanks for the patience! :-) Thank you, I pushed v3 with your changes squashed into a single commit.
That version did no longer trigger ASan in the winmm:wave test in this [CI run](https://gitlab.winehq.org/bernhardu/wine/-/jobs/240538). The 64-bit run has not yet finished. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10326#note_133086