Properly initialize the CON device file descriptor when copying the system
handle table.


svn path=/trunk/; revision=67454
This commit is contained in:
Aleksandar Andrejevic 2015-04-26 23:24:21 +00:00
parent aa2b21abbc
commit 0a06865906

View file

@ -102,7 +102,7 @@ VOID DosCopyHandleTable(LPBYTE DestinationTable)
{
PDOS_DEVICE_NODE Node = DosGetDriverNode(SysVars->ActiveCon);
Descriptor->DeviceInfo = 1 << 7;
Descriptor->DeviceInfo = Node->DeviceAttributes | (1 << 7);
Descriptor->DevicePointer = SysVars->ActiveCon;
/* Call the open routine */