Commit in reactos/ntoskrnl/ke/i386 on MAIN | |||
kernel.c | +1 | -1 | 1.45 -> 1.46 |
- Fix comparsion that I broke with my last commit.
diff -u -r1.45 -r1.46 --- kernel.c 24 Dec 2004 17:06:59 -0000 1.45 +++ kernel.c 25 Dec 2004 14:22:57 -0000 1.46 @@ -296,7 +296,7 @@
* 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) {