- Fix comparsion that I broke with my last commit.

svn path=/trunk/; revision=12328
This commit is contained in:
Filip Navara 2004-12-25 14:22:57 +00:00
parent 32dfb00066
commit 373381ed59

View file

@ -296,7 +296,7 @@ KeInit1(PCHAR CommandLine, PULONG LastKernelAddress)
* Make the detection of the noexecute feature more portable.
*/
if(KPCR->PrcbData.CpuType == 0xf &&
0 == memcpy("AuthenticAMD", KPCR->PrcbData.VendorString, 12))
RtlCompareMemory("AuthenticAMD", KPCR->PrcbData.VendorString, 8) == 8)
{
if (NoExecute)
{