public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Cpanel-JSON-XS] f44: Update to 4.82
Date: Mon, 16 Nov 2026 15:07:27 GMT	[thread overview]
Message-ID: <179484164792.1.14622043178591007754.rpms-perl-Cpanel-JSON-XS-5abba3bbe9e3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-Cpanel-JSON-XS
            Branch : f44
            Commit : 5abba3bbe9e3d2be37e4bde925996c2bde9fcf0b
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2026-11-16T14:21:20+00:00
            Stats  : +24/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Cpanel-JSON-XS/c/5abba3bbe9e3d2be37e4bde925996c2bde9fcf0b?branch=f44

            Log:
            Update to 4.82

- New upstream release 4.82
  - Security fixes:
    - encode: JSON_TYPE_BOOL of a reference to a scalar other than 0 or 1
      crashed (NULL stash) instead of croaking
    - encode: JSON_TYPE_FLOAT with allow_bignum and an integer value overflowed
      the buffer by the appended ".0"
    - encode: convert_blessed no longer expands Math::BigFloat objects with a
      huge exponent into digits (memory exhaustion)
    - decode: Free the partial string on errors (leak of ~16KB per document
      with strings > 16KB)
    - decode: Free enclosing arrays and hashes when a filter_json_object or
      filter_json_single_key_object callback dies (leak)
    - decode: -9223372036854775808 negated IV_MIN (undefined behaviour)
    - incr_parse: A NUL byte between values is now an error and no longer
      stalls the parser while the buffer grows forever
    - incr_parse: Keep incr_pos consistent when the downgrade fails with wide
      characters, and never underflow it when the incremental scanner and the
      decoder disagree (allow_barekey); fixes out-of-bounds writes in
      incr_parse after incr_skip
  - t/10_pc_keysort fix for perls older then 5.20, introduced with 4.81 (GH#262)

---
diff --git a/perl-Cpanel-JSON-XS.spec b/perl-Cpanel-JSON-XS.spec
index 4e36948..061ff18 100644
--- a/perl-Cpanel-JSON-XS.spec
+++ b/perl-Cpanel-JSON-XS.spec
@@ -7,7 +7,7 @@
 
 Name:		perl-Cpanel-JSON-XS
 Summary:	JSON::XS for Cpanel, fast and correct serializing
-Version:	4.81
+Version:	4.82
 Release:	1%{?dist}
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Cpanel-JSON-XS
@@ -165,6 +165,28 @@ make test
 %{_mandir}/man3/Cpanel::JSON::XS::Type.3*
 
 %changelog
+* Mon Nov 16 2026 Paul Howarth <paul@city-fan.org> - 4.82-1
+- Update to 4.82
+  - Security fixes:
+    - encode: JSON_TYPE_BOOL of a reference to a scalar other than 0 or 1
+      crashed (NULL stash) instead of croaking
+    - encode: JSON_TYPE_FLOAT with allow_bignum and an integer value overflowed
+      the buffer by the appended ".0"
+    - encode: convert_blessed no longer expands Math::BigFloat objects with a
+      huge exponent into digits (memory exhaustion)
+    - decode: Free the partial string on errors (leak of ~16KB per document
+      with strings > 16KB)
+    - decode: Free enclosing arrays and hashes when a filter_json_object or
+      filter_json_single_key_object callback dies (leak)
+    - decode: -9223372036854775808 negated IV_MIN (undefined behaviour)
+    - incr_parse: A NUL byte between values is now an error and no longer
+      stalls the parser while the buffer grows forever
+    - incr_parse: Keep incr_pos consistent when the downgrade fails with wide
+      characters, and never underflow it when the incremental scanner and the
+      decoder disagree (allow_barekey); fixes out-of-bounds writes in
+      incr_parse after incr_skip
+  - t/10_pc_keysort fix for perls older then 5.20, introduced with 4.81 (GH#262)
+
 * Mon Nov  9 2026 Paul Howarth <paul@city-fan.org> - 4.81-1
 - Update to 4.81
   - Fix memory leak when croak is called while encoding a tied hash in

diff --git a/sources b/sources
index 1c935f9..db15d0a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Cpanel-JSON-XS-4.81.tar.gz) = b139dd7d295a9a9c7322c6fc47538c74622ec8b831464eb8ca64fd55eac8804d279dcba47fc13ad4b31478d88713919f7e1315f69d985772873c6b42095806b4
+SHA512 (Cpanel-JSON-XS-4.82.tar.gz) = 59b4543c6cea012f169e890c00a8048979a1fc1e720b595d517373fd603ba0100dd09d4d366eb3be62455bf708a9ecc74f903aa21eb3354552cc4ad04404eefd

                 reply	other threads:[~2026-11-16 15:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179484164792.1.14622043178591007754.rpms-perl-Cpanel-JSON-XS-5abba3bbe9e3@fedoraproject.org \
    --to=paul@city-fan.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox