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:
}
/* make sure that there is space for 'size' bytes in buffer, growing it if needed */ -static inline void *get_buffer_space( void **buffer, size_t size, size_t prev_size ) +static inline void *get_buffer_space( void **buffer, size_t size, size_t *prev_size ) This is no longer "prev", `buffer_size` would be a better name after this change.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5392#note_66129
569
Age (days ago)
569
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban (@jacek)