Re: [PATCH v35 0/6] MR3870: mspatcha: Add support for 32-bit file patching and normalization
22 Sep
2023
22 Sep
'23
6: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
821
Age (days ago)
821
Last active (days ago)
0 comments
1 participants
participants (1)
-
eric pouech (@epo)