VirtualBox

Ignore:
Timestamp:
Aug 29, 2014 10:51:39 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95788
Message:

ASN.1 decoding: limit nesting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/x509-asn1-decoder.cpp

    r51770 r52533  
    5050     */
    5151    RTASN1CURSOR ValueCursor;
    52     RTAsn1CursorInitSubFromCore(pCursor, &pThis->ExtnValue.Asn1Core, &ValueCursor, "ExtnValue");
     52    int rc = RTAsn1CursorInitSubFromCore(pCursor, &pThis->ExtnValue.Asn1Core, &ValueCursor, "ExtnValue");
     53    if (RT_FAILURE(rc))
     54        return rc;
    5355    pCursor = &ValueCursor;
    5456
    55     int rc;
    5657    if (RTAsn1ObjId_CompareWithString(&pThis->ExtnId, RTCRX509_ID_CE_AUTHORITY_KEY_IDENTIFIER_OID) == 0)
    5758    {
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