- Timestamp:
- Mar 2, 2007 2:43:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/VMMGC/PATMGC.cpp
r1134 r1163 161 161 162 162 /* Very important check -> otherwise we have a security leak. */ 163 AssertReturn( (pRegFrame->ss & X86_SEL_RPL) == 1, VERR_ACCESS_DENIED);163 AssertReturn(!pRegFrame->eflags.Bits.u1VM && (pRegFrame->ss & X86_SEL_RPL) == 1, VERR_ACCESS_DENIED); 164 164 Assert(PATMIsPatchGCAddr(pVM, (RTGCPTR)pRegFrame->eip)); 165 165 … … 413 413 int rc; 414 414 415 Assert ((pRegFrame->ss & X86_SEL_RPL) == 1);415 AssertReturn(!pRegFrame->eflags.Bits.u1VM && (pRegFrame->ss & X86_SEL_RPL) == 1, VERR_ACCESS_DENIED); 416 416 417 417 /* Int 3 in PATM generated code? (most common case) */
Note:
See TracChangeset
for help on using the changeset viewer.