VirtualBox

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


Ignore:
Timestamp:
Sep 26, 2022 9:24:15 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153762
Message:

IPRT/ldrELF: Fixed bug in rtldrELFLnxKModHashImage. bugref:10287

File:
1 edited

Legend:

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

    r96779 r96857  
    295295    {
    296296        if (rtLdrELFLnxKModIsFooterValid(&SigFooter, cbFile))
    297             cbFile -= sizeof(SigFooter) - RT_N2H_U32(SigFooter.cbSignature);
     297            cbFile -= sizeof(SigFooter) + RT_N2H_U32(SigFooter.cbSignature);
    298298
    299299        /*
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