Changeset 106248 in vbox
- Timestamp:
- Oct 8, 2024 9:50:22 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp
r106061 r106248 2507 2507 uint32_t cbRawData = pModPe->cbHeaders; 2508 2508 uint32_t offLastPage = 0; 2509 uint32_t cbLastPage = 0; 2509 2510 2510 2511 uint32_t const cbScratchReadMax = cbScratch / cbPage * cbPage; … … 2524 2525 uint32_t const cbPageInFile = RT_MIN(cbPage, cbRawData - offPageInSect); 2525 2526 offLastPage = offPageInFile; 2527 cbLastPage = cbPageInFile; 2526 2528 2527 2529 /* Calculate and output the page offset. */ … … 2624 2626 * Add the terminator entry. 2625 2627 */ 2626 *(uint32_t *)pbDst = offLastPage + cb Page;2628 *(uint32_t *)pbDst = offLastPage + cbLastPage; 2627 2629 RT_BZERO(&pbDst[sizeof(uint32_t)], cbHash); 2628 2630
Note:
See TracChangeset
for help on using the changeset viewer.