VirtualBox

Changeset 96777 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Sep 17, 2022 1:32:17 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153665
Message:

RTSignTool,IPRT/ldrPE.cpp: Corrected incorrect signature alignment factor (512, should've been 8) and corrected a tiny bug in rtldrPE_HashImageCommon. bugref:8691

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp

    r96407 r96777  
    24002400     * when memory mapped.)
    24012401     */
    2402     if (   pModPe->SecurityDir.Size != SpecialPlaces.cbToHash
     2402    if (   pModPe->SecurityDir.VirtualAddress != SpecialPlaces.cbToHash
    24032403        && SpecialPlaces.cbToHash != RT_ALIGN_32(SpecialPlaces.cbToHash, WIN_CERTIFICATE_ALIGNMENT))
    24042404    {
Note: See TracChangeset for help on using the changeset viewer.

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