https://bugs.winehq.org/show_bug.cgi?id=41066
Bug ID: 41066 Summary: Unhandled page fault in RtlWow64EnableFsRedirectionEx when passed bad *old_value pointer Product: Wine Version: 1.9.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: wine-bugzilla@nerdoftheherd.com Distribution: ---
If Wine's RtlWow64EnableFsRedirectionEx (when running under WoW64) is passed a bad pointer value that doesn't start with 0x0000, this causes an unhandled page fault instead of returning the value STATUS_ACCESS_VIOLATION as Windows does.
I discovered this behaviour when attempting to install the Dymo LabelWriter software, as for some reason the installer calls Wow64DisableWow64FsRedirection with a pointer value of 0x10000000 instead of a real memory location, which is then passed along to RtlWow64EnableFsRedirectionEx.
I have a patch nearly ready to submit to fix this issue, but wanted to raise a bug so that it can be linked to the appdb.