public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Cpanel-JSON-XS] f44: Update to 4.82
@ 2026-11-16 15:07 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-11-16 15:07 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-16 15:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 15:07 [rpms/perl-Cpanel-JSON-XS] f44: Update to 4.82 Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox