- Timestamp:
- May 28, 2018 8:02:03 PM (7 years ago)
- Location:
- trunk/src/VBox/Runtime/common/asn1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asn1/asn1-ut-integer-decode.cpp
r72367 r72369 69 69 return VINF_SUCCESS; 70 70 } 71 else 72 rc = RTAsn1CursorSetInfo(pCursor, VERR_ASN1_INVALID_INTEGER_ENCODING, 73 "%s: Invalid integer length, exepcted more than 0: %#x", 74 pszErrorTag, pThis->Asn1Core.cb); 71 rc = RTAsn1CursorSetInfo(pCursor, VERR_ASN1_INVALID_INTEGER_ENCODING, 72 "%s: Invalid integer length, exepcted more than 0: %#x", 73 pszErrorTag, pThis->Asn1Core.cb); 75 74 } 76 75 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-integer.cpp
r69111 r72369 67 67 switch (pThis->Asn1Core.cb) 68 68 { 69 default: 69 default: AssertBreak(pThis->Asn1Core.cb > 8); /* paranoia */ 70 70 case 8: pThis->uValue.u |= (uint64_t)pThis->Asn1Core.uData.pu8[offLast - 7] << 56; RT_FALL_THRU(); 71 71 case 7: pThis->uValue.u |= (uint64_t)pThis->Asn1Core.uData.pu8[offLast - 6] << 48; RT_FALL_THRU();
Note:
See TracChangeset
for help on using the changeset viewer.