BSD Ports

devel/libcbor 0.14.0 NetBSD

Parsing and generate schema-less binary data format

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
ca47dee027
License
mit
Categories
devel
Package size
36.4 KiB, 152.5 KiB installed

Description

libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.

From cbor.io:

RFC 8949 Concise Binary Object Representation

"The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation."

In the other systems

SystemPortVersion
NetBSDdevel/libcbor0.14.0
FreeBSDdevel/libcbor0.14.0
DragonFlydevel/libcbor0.11.0
MidnightBSDdevel/libcbor0.9.0

Install

Binary package:

pkgin install libcbor

From pkgsrc:

cd /usr/pkgsrc/devel/libcbor && make install clean

Dependencies

Commit history 1

DateCommitCreditsLog message
ca47dee027 wiz libcbor: update to 0.14.0.
0.14.0 (2026-04-07) --------------------- - [Fix NULL dereference in `cbor_move`, `cbor_serialized_size`, and `cbor_serialize_tag` when a tag has no item set] - [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] - [Explicitly guard against `size * 2` overflow in `cbor_builder_map_start_callback`] - [Only generate CMake coverage build targets when explicitly enabled] - [Fix CMake feature macro names and ensure `_CBOR_NODISCARD` is defined with `[[nodiscard]]`] - [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] …