VirtualBox

Changeset 93244 in vbox


Ignore:
Timestamp:
Jan 14, 2022 11:51:02 PM (3 years ago)
Author:
vboxsync
Message:

IPRT/asn1: Must call RTAsn1Core_DecodeAsn1 when decoding unknowing stuff too, so that the vtable is set. Causes trouble on cloning and similar otherwise. bugref:10162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/asn1-ut-dyntype-decode.cpp

    r93115 r93244  
    192192            }
    193193        else
    194         {
    195             RTAsn1CursorSkip(pCursor, pDynType->u.Core.cb);
    196             return VINF_SUCCESS;
    197         }
     194            Assert(pDynType->enmType == RTASN1TYPE_CORE);
    198195
    199196        /*
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