Bot releases are hidden (Show)
cbor_describe
cbor_string_set_handle
not setting the codepoint countcbor_load
will no longer fail on input strings that are well-formed but not valid UTF-8
cbor_string_codepoint_count
insteadcbor_load
and cbor_stream_decode
will accept all well-formed tag values (bug discovered by dskern-github)
CBOR_ERR_MALFORMATED
or CBOR_DECODER_ERROR
Published by PJK almost 2 years ago
Published by PJK almost 2 years ago
cbor_serialize_alloc
[#205] (by hughsie)cbor_copy
leaking memory and creating invalid items when the allocator fails.
cbor_copy
may return NULL
upon failure; clients should check the return valuecbor_build_tag
illegal memory behavior when the allocator failscbor_serialized_size
APIcbor_serialize_alloc
to allocate the exact amount of memory necessary upfront
cbor_serialize_alloc
for large items by avoiding multiple reallocation iterationscbor_serialize_alloc
. It may be removed in the future.cbor_set_allocs
will always be enabled from now onPublished by PJK almost 3 years ago
Published by PJK about 4 years ago
cbor_tag_item
not increasing the reference count on the tagged item reference it returns [Fixes #109] (discovered bt JohnGilmour)
cbor_move
to emulate as long as the returned handle is an "rvalue"CBOR_DECODER_EBUFFER
removed from cbor_decoder_status
cbor_stream_decode
will set CBOR_DECODER_NEDATA
instead if the input buffer is emptycbor_stream_decode
to set cbor_decoder_result.required
to the minimum number of input bytes necessary to receive the next callback (as long as at least one byte was passed) (discovered by woefulwabbit)Published by PJK over 4 years ago
0xf9e700
instead of 0xf97e00
; if you rely on the broken behavior, this will be a breaking changecbor_ctrl_is_bool
to cbor_get_bool
and fix the behaviorcbor_set_bool
CBOR_MAX_STACK_SIZE
Published by PJK over 4 years ago
Published by PJK over 4 years ago
Published by PJK over 7 years ago
This release addresses several long-outstanding issues regarding compatibility, portability, and correctness.
-DWITH_TESTS=ON
)examples/readfile.c
cbor_empty_callbacks
, fixed restrict
pointers) (by Dennis Bijwaard)