[PATCH] ntdll: Catch page fault in RtlWow64EnableFsRedirectionEx
nerv at dawncrow.de
Sat Aug 6 10:16:23 CDT 2016
Am 04.08.2016 um 19:05 schrieb Matt Robinson:
> Previously, RtlWow64EnableFsRedirectionEx only returned
> STATUS_NOT_IMPLEMENTED if the old_value pointer started with 0x0000, and
> would cause an unhandled page fault if an invalid handle not starting
> with 0x00 was passed. However, Windows seems to catch page faults when
> accessing old_value and returns STATUS_ACCESS_VIOLATION.
> This adds a test to confirm the behaviour and then wraps the access to
> old_value in an exception handler.
> Fixes https://bugs.winehq.org/show_bug.cgi?id=41066
> Signed-off-by: Matt Robinson <git at nerdoftheherd.com>
Signed-off-by: André Hentschel <nerv at dawncrow.de>
More information about the wine-patches