[NTOSKNRL]

Properly check for string

svn path=/trunk/; revision=54458
This commit is contained in:
Pierre Schweitzer 2011-11-20 16:39:31 +00:00
parent ee0296db7d
commit c1f9c89d62

View file

@ -478,7 +478,7 @@ CmpInitializeMachineDependentConfiguration(IN PLOADER_PARAMETER_BLOCK LoaderBloc
}
/* Check if we had a Vendor ID */
if (Prcb->VendorString)
if (Prcb->VendorString[0])
{
/* Convert it to Unicode */
RtlInitAnsiString(&TempString, Prcb->VendorString);