You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, decoder can decode CBOR integers (not CBOR simple value) to cbor.SimpleValue. However, CBOR simple value (major type 7) is different from integers and shouldn't be used interchangeably.
Fix this by only allowing CBOR simple values (major type 7) to be decoded to cbor.SimpleValue.
The text was updated successfully, but these errors were encountered:
Currently, decoder can decode CBOR integers (not CBOR simple value) to
cbor.SimpleValue
. However, CBOR simple value (major type 7) is different from integers and shouldn't be used interchangeably.Fix this by only allowing CBOR simple values (major type 7) to be decoded to
cbor.SimpleValue
.The text was updated successfully, but these errors were encountered: