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.
Jacek Caban (@jacek) commented about dlls/win32u/message.c:
{ if (*prev_size < size) { - *buffer = malloc( size ); + *buffer = realloc( *buffer, size ); This leaks on error, we could leave the buffer unchanged in that case.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5392#note_66128
570
Age (days ago)
570
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban (@jacek)