March 9, 2026
10:30 p.m.
On Mon Mar 9 11:03:14 2026 +0000, Giovanni Mascellani wrote:
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. Thanks for taking a look, then I guess I close this MR if the removal of this code is already planned.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10264#note_131653