- Sticky overflow: once overflow is set, later encode calls keep returning
MCBOR_ERR_OVERFLOWuntil reinitialization. - Decoder rollback: failed typed decode calls leave
dec.posunchanged. mcbor_dec_str()too small: onMCBOR_ERR_SIZE, grow the destination buffer and retry.- Invalid UTF-8: text encode/decode rejects malformed sequences.
- Signed integer range:
mcbor_dec_int()accepts only theINT32_MIN..INT32_MAXdomain. - Unsupported 64-bit arguments: additional-info
27is not supported. - Indefinite-length items: additional-info
31is rejected. - Semantic tags: major type
6is unsupported. - Canonical output: shortest-width integer and length heads are used, but map keys are not sorted and duplicate keys are not rejected.
- Float32 disabled: float encode/decode returns
MCBOR_ERR_UNSUPPORTED. - NaN behavior: no canonical NaN guarantee is made.
- Container completeness:
mcbor_enc_size()andmcbor_dec_done()do not prove semantic completeness by themselves. - Zero-copy lifetime: returned spans remain valid only while the input buffer remains valid and unchanged.
find_package()prefix issues: setCMAKE_PREFIX_PATHto the install prefix containingmicrocborConfig.cmake.