March 9, 2026
11:03 a.m.
I don't know whether this is spelled explicitly anyway, but I would assume that if the format tag is `WAVE_FORMAT_EXTENSIBLE` then the caller is responsible for ensuring that `cbSize` is large enough. So I don't think this is the right fix. Ultimately, I plan to remove that code altogether (https://gitlab.winehq.org/giomasce/wine/-/commit/c5a444f42a4c971fa660149dd50... is the next thing I plan to submit, once the currently outstanding MRs are merged), so even the symptom should get fixed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10264#note_131579