Changeset 101143 in vbox
- Timestamp:
- Sep 18, 2023 11:15:59 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/alloc-win.cpp
r101142 r101143 142 142 #else 143 143 /** @todo The exec version of this doesn't really work well... */ 144 MEMORY_BASIC_INFORMATION MemInfo = { NULL } 144 MEMORY_BASIC_INFORMATION MemInfo = { NULL }; 145 145 SIZE_T cbRet = VirtualQuery(pv, &MemInfo, cb); 146 Assert(cbRet > 0) 147 if (cbRet > =0 && MemInfo.Protect == PAGE_EXECUTE_READWRITE)146 Assert(cbRet > 0); 147 if (cbRet > 0 && MemInfo.Protect == PAGE_EXECUTE_READWRITE) 148 148 { 149 149 DWORD fIgn = 0;
Note:
See TracChangeset
for help on using the changeset viewer.