Re: [PATCH v4 0/2] MR5392: win32u: Avoid writing past allocated memory in peek_message().
28 May
2024
28 May
'24
8:27 p.m.
Do we always reallocate to larger size? It is currently reallocated based on the actual message size returned by the server, while buffer_size in peek_message may be bigger (and it is first allocated to 1024 bytes). Granted, I only reproduced the actual memory corruption with Proton, but it seems to me that in this regard the handling is the same. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5392#note_66132
569
Age (days ago)
569
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Gofman (@gofman)