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

Alexandre Julliard julliard at winehq.org
Thu Apr 23 01:13:35 CDT 2015


"Erich E. Hoover" <erich.e.hoover at gmail.com> writes:

> 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.

Proper handles would be better, simply open the null device or something
like that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list