VirtualBox

Ignore:
Timestamp:
Oct 11, 2018 11:25:24 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/ldr/asn1/pkcs7: Ironed out issues in decoding indefinite ASN.1 length records and successfully verified the first Mach-O signature. bugref:9232

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp

    r69500 r74760  
    10531053static DECLCALLBACK(int) supHardNtViCallback(RTLDRMOD hLdrMod, RTLDRSIGNATURETYPE enmSignature,
    10541054                                             void const *pvSignature, size_t cbSignature,
     1055                                             void const *pvExternalData, size_t cbExternalData,
    10551056                                             PRTERRINFO pErrInfo, void *pvUser)
    10561057{
     
    10681069    AssertReturn(pContentInfo->u.pSignedData->SignerInfos.cItems == 1, VERR_INTERNAL_ERROR_5);
    10691070    PCRTCRPKCS7SIGNERINFO pSignerInfo = pContentInfo->u.pSignedData->SignerInfos.papItems[0];
     1071
     1072    AssertReturn(pvExternalData, VERR_INTERNAL_ERROR_5);
    10701073
    10711074    /*
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