Changeset 73097 in vbox for trunk/src/VBox/Runtime/r0drv/nt/dbgkrnlinfo-r0drv-nt.cpp
- Timestamp:
- Jul 12, 2018 9:06:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/dbgkrnlinfo-r0drv-nt.cpp
r70292 r73097 357 357 */ 358 358 uint32_t cModules = pModInfo ? 110 /*32KB*/ : 27 /*8KB*/; 359 ULONG cbInfo = RT_ OFFSETOF(RTL_PROCESS_MODULES, Modules[cModules]);359 ULONG cbInfo = RT_UOFFSETOF_DYN(RTL_PROCESS_MODULES, Modules[cModules]); 360 360 PRTL_PROCESS_MODULES pInfo = (PRTL_PROCESS_MODULES)RTMemAllocZ(cbInfo); 361 361 if (!pInfo) 362 362 { 363 363 cModules = cModules / 4; 364 cbInfo = RT_ OFFSETOF(RTL_PROCESS_MODULES, Modules[cModules]);364 cbInfo = RT_UOFFSETOF_DYN(RTL_PROCESS_MODULES, Modules[cModules]); 365 365 pInfo = (PRTL_PROCESS_MODULES)RTMemAllocZ(cbInfo); 366 366 if (!pInfo)
Note:
See TracChangeset
for help on using the changeset viewer.