VirtualBox

Changeset 77972 in vbox for trunk


Ignore:
Timestamp:
Apr 1, 2019 9:40:16 AM (6 years ago)
Author:
vboxsync
Message:

HostDrivers/Support/win: Burn fix for r129708 (wasn't aware of the Windows part, bugref:9188)

Location:
trunk/src/VBox/HostDrivers/Support/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerify-win.h

    r76568 r77972  
    103103    RTFOFF      off;
    104104    /** The file size. */
    105     RTFOFF      cbFile;
     105    uint64_t    cbFile;
    106106    /** Flags for the verification callback, SUPHNTVI_F_XXX. */
    107107    uint32_t    fFlags;
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp

    r77820 r77972  
    302302
    303303/** @copydoc RTLDRREADER::pfnSize */
    304 static DECLCALLBACK(RTFOFF) supHardNtViRdrSize(PRTLDRREADER pReader)
     304static DECLCALLBACK(uint64_t) supHardNtViRdrSize(PRTLDRREADER pReader)
    305305{
    306306    PSUPHNTVIRDR pNtViRdr = (PSUPHNTVIRDR)pReader;
     
    440440    pNtViRdr->hEvent          = hEvent;
    441441    pNtViRdr->off             = 0;
    442     pNtViRdr->cbFile          = StdInfo.EndOfFile.QuadPart;
     442    pNtViRdr->cbFile          = (uint64_t)StdInfo.EndOfFile.QuadPart;
    443443    pNtViRdr->fFlags          = fFlags;
    444444    *ppNtViRdr = pNtViRdr;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette