From nobody Fri Apr 21 15:38:31 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q2zFh5Wvhz46Y75 for ; Fri, 21 Apr 2023 15:38:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q2zFh1yNbz3C6F for ; Fri, 21 Apr 2023 15:38:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682091512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tri47mU2/ue0o+QMnAlnWu4U+gTc+2xCaPVQ/0zdCRs=; b=OQM3lQXZwKdIc961sb+2vHa9+KtJrUPQPlgKvMmlUIG82YjWY80XwnFdjlPusEDBj7Hnoz abYKKaBmsmEohWVwMhx+WffyZSBOtXQE/WG/3d2iOaMUIlPcdrNea0MpJYq3p52KDvZMrj cq4XJVri5WhHkxBnGYiqYwv889mZjdHpl5ZJ1RTVGgGzVxDahNMSP8MjKr0ufRm0UVG058 u2EP73i0KKZ0Ndrr/eBN3ifYO1A9v7amvnZLLgE1VYfqnM02AZlL+v3OkGi4SQrXNcDUEp OcHK/pDhtt/OYyLaM7nS8Wuy60czTshZXLJhCeKLcP+fqTELLLkhrh5KuTdjiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682091512; a=rsa-sha256; cv=none; b=xvRj8/VsEVzGjux9ss8GWw5jD8r3tsJ+Oy6WvOBEZpD9IXfqxWLzba9VMMB6es2qVa7AgT 8IKl22gzgUBFeXyrEuC+XmxTpEykzbAWE46ezrMb8IWKBAPvquUx882i6OXtJD1xUOaIcJ uzkPMX0PGFQTCUoht2V4hnnE6j8GR8vqmdp0k8ORGSqICJDKct0QpdqWWHFn9U6C6NdH6J GY9/SxKfGiK1+CPUtHridO4A1YZu22C0MpefSv8NZY8e0r08AD9yydQMm5MjFRw5uYs8p9 2b3yh1bJBvBYbmwnpVsw3sfOosCff/srGhtFKgkv78S8cMvl5p1R3v+Cv/WHiA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q2zFh0xnjzQmR for ; Fri, 21 Apr 2023 15:38:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33LFcWFV005957 for ; Fri, 21 Apr 2023 15:38:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33LFcW5R005956 for bugs@FreeBSD.org; Fri, 21 Apr 2023 15:38:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270981] update base system libcbor (to 0.10.2 or later) Date: Fri, 21 Apr 2023 15:38:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270981 Bug ID: 270981 Summary: update base system libcbor (to 0.10.2 or later) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: emaste@freebsd.org base system libcbor is currently 0.8.0 Changelog: 0.10.2 (2023-01-31) --------------------- - [Fixed minor test bug causing failures for x86 Linux](https://github.com/PJK/libcbor/pull/266) (discovered by [trofi](https://github.com/PJK/libcbor/issues/263)) - Actual libcbor functionality not affected, bug was in the test suite - [Made tests platform-independent](https://github.com/PJK/libcbor/pull/272) 0.10.1 (2022-12-30) --------------------- - [Fix a regression in `cbor_serialize_alloc` that caused serialization of zero-length strings and bytestrings or byte/strings with zero-length chunks= to fail](https://github.com/PJK/libcbor/pull/260) (discovered by [martelletto](https://github.com/martelletto)) 0.10.0 (2022-12-29) --------------------- - Make the buffer_size optional in `cbor_serialize_alloc` [[#205]](https://github.com/PJK/libcbor/pull/205) (by [hughsie](https://github.com/hughsie)) - BREAKING: Improved half-float encoding for denormalized numbers. [[#208]](https://github.com/PJK/libcbor/pull/208) (by [ranvis](https://github.com/ranvis)) - Denormalized half-floats will now preserve data in the mantissa - Note: Half-float NaNs still lose data (https://github.com/PJK/libcbor/issues/215) - BUILD BREAKING: Minimum CMake version is 3.0 [[#201]](https://github.com/PJK/libcbor/pull/201) (by [thewtex@](https://github.com/thewtex)) - See https://repology.org/project/cmake/versions for support; the vast majority of users should not be affected. - Fix a potential memory leak when the allocator fails during array or map decoding [[#224]](https://github.com/PJK/libcbor/pull/224) (by [James-ZHANG](https://github.com/James-ZHANG)) - [Fix a memory leak when the allocator fails when adding chunks to indefin= ite bytestrings.](https://github.com/PJK/libcbor/pull/242) ([discovered](https://github.com/PJK/libcbor/pull/228) by [James-ZHANG](https://github.com/James-ZHANG)) - [Fix a memory leak when the allocator fails when adding chunks to indefin= ite strings](https://github.com/PJK/libcbor/pull/246) - Potentially BUILD BREAKING: [Add nodiscard attributes to most functions](https://github.com/PJK/libcbor/pull/248) - **Warning**: This may cause new build warnings and (in rare cases, depending on your configuration) errors - BREAKING: [Fix `cbor_copy` leaking memory and creating invalid items when= the allocator fails](https://github.com/PJK/libcbor/pull/249). - Previously, the failures were not handled in the interface. Now, `cbor_copy` may return `NULL` upon failure; clients should check the return value - [Fix `cbor_build_tag` illegal memory behavior when the allocator fails](https://github.com/PJK/libcbor/pull/249) - [Add a new `cbor_serialized_size` API](https://github.com/PJK/libcbor/pull/250) - [Reworked `cbor_serialize_alloc` to allocate the exact amount of memory necessary upfront](https://github.com/PJK/libcbor/pull/251) - This should significantly speed up `cbor_serialize_alloc` for large ite= ms by avoiding multiple reallocation iterations - Clients should not use the return value of `cbor_serialize_alloc`. It m= ay be removed in the future. - BUILD BREAKING: [Deprecate CBOR_CUSTOM_ALLOC](https://github.com/PJK/libcbor/pull/237) - `cbor_set_allocs` will always be enabled from now on - Note: The flag will be kept as a no-op triggering a warning when used f= or one version and then removed completely 0.9.0 (2021-11-14) --------------------- - Improved pkg-config paths handling [[#164]](https://github.com/PJK/libcbor/pull/164) (by [jtojnar@](https://github.com/jtojnar)) - Use explicit math.h linkage [[#170]](https://github.com/PJK/libcbor/pull/= 170) - BREAKING: Fixed handling of items that exceed the host size_t range [[#186]](https://github.com/PJK/libcbor/pull/186hg)=20=20 - Callbacks for bytestrings, strings, arrays, and maps use uint64_t ins= tead of size_t to allow handling of large items that exceed size_t even if size_= t < uint64_t - cbor_decode explicitly checks size to avoid overflows (previously bro= ken, potentially resulting in erroneous decoding on affected systems) - The change should be a noop for 64b systems - Added a [Bazel](https://bazel.build/) build example [[#196]](https://github.com/PJK/libcbor/pull/196) (by [andyjgf@](https://github.com/andyjgf)) --=20 You are receiving this mail because: You are the assignee for the bug.=