[PATCH 2/2] krnl386: Invalid console handles should translate into real handles when creating a new process.

Erich E. Hoover erich.e.hoover at gmail.com
Thu Apr 23 00:48:28 CDT 2015


This patch fixes an issue exposed by the fix in patch 1.  The current
mechanism for initializing the DOS handles for a process uses
DuplicateHandle, which converts INVALID_HANDLE_VALUE into a usable
handle (but not 0).  Without this fix the Caesar III demo installer
crashes with an unhandled page fault, though it may be more desirable
to allocate new handles than to replicate the behavior we used to have
prior to patch 1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-krnl386-Invalid-console-handles-should-translate-int.patch
Type: text/x-diff
Size: 2515 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150422/e85c368c/attachment.patch>


More information about the wine-patches mailing list