Allocate room for terminator. Fixes bug 1203, r20343 can be re-applied.
Modified: trunk/reactos/lib/setupapi/devinst.c

Modified: trunk/reactos/lib/setupapi/devinst.c
--- trunk/reactos/lib/setupapi/devinst.c	2005-12-30 23:42:04 UTC (rev 20471)
+++ trunk/reactos/lib/setupapi/devinst.c	2005-12-30 23:44:03 UTC (rev 20472)
@@ -5608,7 +5608,7 @@
                 currentInfFileDetails = HeapAlloc(
                     GetProcessHeap(),
                     0,
-                    FIELD_OFFSET(struct InfFileDetails, FullInfFileName) + wcslen(FullInfFileName) * sizeof(WCHAR) + UNICODE_NULL);
+                    FIELD_OFFSET(struct InfFileDetails, FullInfFileName) + wcslen(FullInfFileName) * sizeof(WCHAR) + sizeof(UNICODE_NULL));
                 if (!currentInfFileDetails)
                     continue;
                 memset(currentInfFileDetails, 0, sizeof(struct InfFileDetails));