factory
- update to 0.14.0:
* Fix NULL dereference in `cbor_move`, `cbor_serialized_size`,
and `cbor_serialize_tag` when a tag has no item set (reported
by Benjamin608608)
* Document large-allocation risk in `cbor_load` and clarify
test-only CMake flags
* Fix NULL dereference in `cbor_copy`/`cbor_copy_definite` on
allocation failure (reported by Benjamin608608)
* Explicitly guard against `size * 2` overflow in
`cbor_builder_map_start_callback` (reported by
Benjamin608608)
* Only generate CMake coverage build targets when explicitly
enabled
* [Fix CMake feature macro names and ensure `_CBOR_NODISCARD`
is defined with
`[[nodiscard]]`](https://github.com/PJK/libcbor/pull/385)
* Fix integer overflow in `cbor_copy_definite()` when
accumulating indefinite bytestring/string chunk lengths
* Add bounds check in `cbor_array_get()` to return NULL on out-
of-bounds access
* BREAKING: `cbor_tag_set_item` now releases the reference to
the previous tagged item
* Previously, replacing the tagged item would leak the old
item's reference. If you were manually releasing the old item
before calling `cbor_tag_set_item`, you should remove the
extra `cbor_decref`.
* Potentially BREAKING: `cbor_tag_item` now returns NULL if the
tag has no item set
* Previously, this would be undefined behavior (NULL pointer
dereference), so no valid clients should be affected.
OBS-URL: https://build.opensuse.org/request/show/1351351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcbor?expand=0&rev=12
Description
No description provided
Languages
Roff
100%