diff --git a/libcbor.changes b/libcbor.changes index e0865a3..662935b 100644 --- a/libcbor.changes +++ b/libcbor.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jan 16 15:32:07 UTC 2023 - Paolo Stivanin + +- Update to 0.10.1: + * BREAKING: Fix cbor_copy leaking memory and creating invalid items when the allocator fails. + * BREAKING: Improved half-float encoding for denormalized numbers. [#208] + * Make the buffer_size optional in cbor_serialize_alloc [#205] + * Fix a potential memory leak when the allocator fails during array or map decoding [#224] + * Fix a memory leak when the allocator fails when adding chunks to indefinite bytestrings. + * Fix a memory leak when the allocator fails when adding chunks to indefinite strings + * Fix cbor_build_tag illegal memory behavior when the allocator fails + * Add a new cbor_serialized_size API + * Reworked cbor_serialize_alloc to allocate the exact amount of memory necessary upfront + ------------------------------------------------------------------- Fri Aug 26 05:23:10 UTC 2022 - Thorsten Kukuk diff --git a/libcbor.spec b/libcbor.spec index 53ed3a0..08313ca 100644 --- a/libcbor.spec +++ b/libcbor.spec @@ -1,7 +1,7 @@ # # spec file for package libcbor-doc # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,8 @@ %define socurrent 0 -%define sorevision 9 -%define soage 0 +%define sorevision 10 +%define soage 1 %define lname libcbor%{socurrent}_%{sorevision} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "doc" @@ -26,7 +26,7 @@ Name: libcbor-doc %else Name: libcbor %endif -Version: 0.9.0 +Version: 0.10.1 Release: 0 Summary: Library for parsing Concise Binary Object Representation (CBOR) License: MIT @@ -76,6 +76,8 @@ The libcbor-devel contains libraries and header files for libcbor. sed -i 's|${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig|${CMAKE_INSTALL_LIBDIR}/pkgconfig|' src/CMakeLists.txt %build +export CFLAGS="%(echo %{optflags}) -Wno-return-type" +export CXXFLAGS="$CFLAGS" %if "%{flavor}" == "doc" %make_build -C doc man %else diff --git a/v0.10.1.tar.gz b/v0.10.1.tar.gz new file mode 100644 index 0000000..69ba214 --- /dev/null +++ b/v0.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8fa0a726b18861c24428561c80b3c95aca95f468df4e2f3e3ac618be12d3047 +size 284393 diff --git a/v0.9.0.tar.gz b/v0.9.0.tar.gz deleted file mode 100644 index 0fd3078..0000000 --- a/v0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da81e4f9333e0086d4e2745183c7052f04ecc4dbcffcf910029df24f103c15d1 -size 275405