Re: [PATCH v35 0/6] MR3870: mspatcha: Add support for 32-bit file patching and normalization
Sept. 22, 2023
1:50 a.m.
On Fri Sep 22 06:50:36 2023 +0000, Aidan Khoury wrote:
`RtlImageNtHeader` lacks proper image boundary checks for e_lfanew, so using it in this case is not safe. this raises the questions does native ntdll.RtlImageHeader check for e_lfanew being within image boundary? if so, it builtin implementation has to be fixed (with test case please)
and if it doesn't you can still add the check on RtlImageHeader's returned value -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3870#note_46285
917
Age (days ago)
917
Last active (days ago)
0 comments
1 participants
participants (1)
-
eric pouech (@epo)