May 21, 2026
9:50 p.m.
On Thu May 21 20:00:39 2026 +0000, Paul Gofman wrote:
Indeed, thanks, my added test only tests the case when start is invalid and the requested size is larger than the total buffer size, might behave differently for valid start and wraparound. I will test such case and update the patch accoringly. v3:
* add more tests and handle buffer wraparound (only fail if read cursor or read length is invalid). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10966#note_141013