diff mbox series

[meta-oe,20/42] libcbor: upgrade 0.14.0 -> 0.15.0

Message ID 20261123052953.3658549-48-khem.raj@oss.qualcomm.com
State New
Headers show
Series exfatprogs upgrade, remove logfsprogs | expand

Commit Message

Khem Raj Nov. 23, 2026, 5:29 a.m. UTC
- Security (0.14.1): fix cbor_stream_decode string length bounds
  checks (GHSA-frh9-3gqx-pqg2, GHSA-pj89-8hch-p7vp)
- cbor_load no longer preallocates huge declared arrays/maps beyond
  what the input can hold; decoding is iterative, so nesting no longer
  uses native stack
- ABI break: cbor_incref/cbor_decref are now static inline and no
  longer exported; _cbor_map_add_key/_value are no longer exported
- Behaviour changes: all well-formed simple values are decoded (new
  simple_value callback), NaN payloads are preserved on encode, and
  empty items return NULL handles
- Fix cbor_encode_half for out-of-range values; no longer links libm
- New CBOR_TAG_* constants for RFC 8949 tags

The LICENSE.md change is only the copyright year.

License-Update: copyright year updated in LICENSE.md
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../libcbor/{libcbor_0.14.0.bb => libcbor_0.15.0.bb}          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/libcbor/{libcbor_0.14.0.bb => libcbor_0.15.0.bb} (72%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libcbor/libcbor_0.14.0.bb b/meta-oe/recipes-extended/libcbor/libcbor_0.15.0.bb
similarity index 72%
rename from meta-oe/recipes-extended/libcbor/libcbor_0.14.0.bb
rename to meta-oe/recipes-extended/libcbor/libcbor_0.15.0.bb
index 7d65688384..7789c9d871 100755
--- a/meta-oe/recipes-extended/libcbor/libcbor_0.14.0.bb
+++ b/meta-oe/recipes-extended/libcbor/libcbor_0.15.0.bb
@@ -2,11 +2,11 @@  SUMMARY = "library for CBOR"
 DESCRIPTION = "C library for parsing and generating CBOR, the general-purpose schema-less binary data format."
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f3b3881df62ca763a02d359a6e94071"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=53e9bdfc4dfb4dfe40cd444d3554000b"
 
 SRC_URI = "git://github.com/PJK/libcbor.git;protocol=https;branch=master;tag=v${PV}"
 
-SRCREV = "6730c20ab487c0b4dc5fb3fea918937085355bac"
+SRCREV = "cf5bd4bd293ce730b9455fa9cd822166c3dc4599"
 
 inherit cmake