[PATCH] ntdll: Fix overflow if running 32bit app w/ wine64

Alexandre Julliard julliard at winehq.org
Wed Oct 17 04:12:10 CDT 2018


Brendan McGrath <brendan at redmandi.com> writes:

> wine64 was using IMAGE_NT_HEADERS to access header information
> regardless of the execution type; hence it would use
> IMAGE_OPTIONAL_HEADER64 for a 32bit app.

wine64 should not be used for a 32-bit binary, it should exec the 32-bit
loader instead. Do you have a sample app to reproduce this?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list