Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Cpanel-JSON-XS for
openSUSE:Factory checked in at 2026-11-18 18:32:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Cpanel-JSON-XS (Old)
and /work/SRC/openSUSE:Factory/.perl-Cpanel-JSON-XS.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Cpanel-JSON-XS"
Wed Nov 18 18:32:14 2026 rev:49 rq:1398397 version:4.820.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.changes
2026-10-21 20:54:06.923473736 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Cpanel-JSON-XS.new.1251/perl-Cpanel-JSON-XS.changes
2026-11-18 18:34:07.707409174 +0100
@@ -1,0 +2,30 @@
+Mon Nov 16 13:40:08 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 4.820.0 (4.82)
+ see /usr/share/doc/packages/perl-Cpanel-JSON-XS/Changes
+
+ 4.82 2026-11-16 (rurban)
+ - Security fixes, reported by Albert Gierlach (rivit):
+ * 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 eserte)
+ 4.81 2026-11-09 (rurban)
+ - Fix memory leak when croak is called while encoding a tied hash
+ in canonical mode (PR #261, Nikolay Shaplov, ISP RAS)
+
+-------------------------------------------------------------------
Old:
----
Cpanel-JSON-XS-4.80.tar.gz
New:
----
Cpanel-JSON-XS-4.82.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Cpanel-JSON-XS.spec ++++++
--- /var/tmp/diff_new_pack.ednqyG/_old 2026-11-18 18:34:08.403438661 +0100
+++ /var/tmp/diff_new_pack.ednqyG/_new 2026-11-18 18:34:08.404438704 +0100
@@ -18,10 +18,10 @@
%define cpan_name Cpanel-JSON-XS
Name: perl-Cpanel-JSON-XS
-Version: 4.800.0
+Version: 4.820.0
Release: 0
-# 4.80 -> normalize -> 4.800.0
-%define cpan_version 4.80
+# 4.82 -> normalize -> 4.820.0
+%define cpan_version 4.82
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: CPanel fork of JSON::XS, fast and correct serializing
URL: https://metacpan.org/release/%{cpan_name}
++++++ Cpanel-JSON-XS-4.80.tar.gz -> Cpanel-JSON-XS-4.82.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/.github/workflows/testsuite.yml
new/Cpanel-JSON-XS-4.82/.github/workflows/testsuite.yml
--- old/Cpanel-JSON-XS-4.80/.github/workflows/testsuite.yml 2026-09-28
10:34:52.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/.github/workflows/testsuite.yml 2026-11-16
13:28:23.000000000 +0100
@@ -28,9 +28,9 @@
Data::Dumper
Devel::Peek
Mojo::JSON
- JSON::XS
JSON
JSON::PP
+ JSON::XS
Test::LeakTrace
Test::MinimumVersion
Perl::MinimumVersion
@@ -99,6 +99,12 @@
install: |
Data::Dumper
Devel::Peek
+ # JSON::XS does not install with perls older than 5.15. The interop
tests skip without it.
+ - name: install optional interop deps
+ continue-on-error: true
+ uses:
perl-actions/install-with-cpanm@0f3cc9bc0b055cc20750d218061ebbdebd101bb3 #
stable
+ with:
+ install: |
JSON::XS
JSON
- run: perl Makefile.PL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/Changes
new/Cpanel-JSON-XS-4.82/Changes
--- old/Cpanel-JSON-XS-4.80/Changes 2026-10-14 15:56:24.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/Changes 2026-11-16 13:28:23.000000000 +0100
@@ -2,7 +2,34 @@
TODO: http://stevehanov.ca/blog/index.php?id=104 compression
-4.80 2026-09-?? (rurban)
+4.82 2026-11-16 (rurban)
+
+ - Security fixes, reported by Albert Gierlach (rivit):
+ * 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 eserte)
+
+4.81 2026-11-09 (rurban)
+
+ - Fix memory leak when croak is called while encoding a tied hash
+ in canonical mode (PR #261, Nikolay Shaplov, ISP RAS)
+
+4.80 2026-10-14 (rurban)
- Security fixes, reported by Stig Palmquist (CPANSec):
* CVE-2026-110672 decode: free the hash key on "Duplicate keys not
allowed" and on a missing ':' (leak).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/META.json
new/Cpanel-JSON-XS-4.82/META.json
--- old/Cpanel-JSON-XS-4.80/META.json 2026-10-14 15:57:02.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/META.json 2026-11-16 13:28:56.000000000 +0100
@@ -100,7 +100,7 @@
"url" : "https://github.com/rurban/Cpanel-JSON-XS"
}
},
- "version" : "4.80",
+ "version" : "4.82",
"x_contributors" : [
"Ashley Willis <[email protected]>",
"Chip Salzenberg <[email protected]>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/META.yml
new/Cpanel-JSON-XS-4.82/META.yml
--- old/Cpanel-JSON-XS-4.80/META.yml 2026-10-14 15:57:02.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/META.yml 2026-11-16 13:28:55.000000000 +0100
@@ -48,7 +48,7 @@
bugtracker: https://github.com/rurban/Cpanel-JSON-XS/issues
license: http://dev.perl.org/licenses/
repository: https://github.com/rurban/Cpanel-JSON-XS
-version: '4.80'
+version: '4.82'
x_contributors:
- 'Ashley Willis <[email protected]>'
- 'Chip Salzenberg <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/SIGNATURE
new/Cpanel-JSON-XS-4.82/SIGNATURE
--- old/Cpanel-JSON-XS-4.80/SIGNATURE 2026-10-14 15:57:03.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/SIGNATURE 2026-11-16 13:28:56.000000000 +0100
@@ -16,20 +16,20 @@
SHA256 aac2b4bbaa7b93eaf72300f60e167a17e05adcd721087f735ba55d2900f31490
.appveyor.yml
SHA256 082201a3cbd62a55f2e58ffbb991c4b2bb806de0009bc9497ffcc07202f60855
.github/FUNDING.yml
-SHA256 f7457a1fabeb5cc79ea4461daeb36d21f203a10b6642dcf371b56a1771511af4
.github/workflows/testsuite.yml
+SHA256 fc21d4fb379dfb2fc0a2cdf1c0fc829ac1ff40ce26379eb14b6ff08f08662a3f
.github/workflows/testsuite.yml
SHA256 a3c34aba52e269e6cec558ecf9cff393138574189fdff26b183bee9cc2e0434f
.travis.yml
SHA256 c3f2a1a4f66382f796f71a571946722edba53cf3238152b26fd325f4c2f1a20f
.whitesource
SHA256 8de3540a3cd7ecc9a9dcb48975fe852c082fe17d4462f87bb72aa7cc47f083ad COPYING
-SHA256 f0380e71b2740ea0d28ddcc8a88126736a507844d791e540b55ca6b87081c3e0 Changes
+SHA256 48794ef12557ceddcbe9178d8b53ec8f55b479a16eef5695caa81c90bfcd206a Changes
SHA256 c3a28bbfd1c94f9a60565ecbde58dfec82ab40525a4858c96832ac43ea7b6ca5
MANIFEST
-SHA256 77d9c8c87e3b062b45bd59778a6519c3182d4ad8471933e527b80998a41ea400
META.json
-SHA256 26f7e0f07166ff79936a2a1b33508d799a7fc5e9765ca3b99bb2bb6057303760
META.yml
+SHA256 b49609d7fd2bca60ca64dac175ca406279c071c4349a8ba64b59b72cf5d49498
META.json
+SHA256 7dced81850fa7a5359e727d66cbac03d1497444a24ff0ccc437f998061b7316d
META.yml
SHA256 0ebe7b026805d3de5c4a51153c23123139d792d00300f433945047e21bbbe046
Makefile.PL
SHA256 a37ff25d51f52601fd5fa865281e3ec1b4235182ccb4b0be6445eff048c5f63d README
-SHA256 dc6763e0b3d701b7818c8b1e61038e957899e7981b50d174673b16e15604a86b XS.pm
-SHA256 b7e03d565cb619bd3396433513dfbcc6cb3b7dd0dd1a9df70711bd14038c9a19 XS.xs
-SHA256 39701eb020dd0581eb16c428d4fc272abe31e54e47337e4ff3f935fc82de3e68
XS/Boolean.pm
-SHA256 00b77a48aa50f3f77e3d552f6cac2726b0867ebf279fa18dd8f403e69ec29363
XS/Type.pm
+SHA256 d4544253c39c3e61f7702799319c23d301334051eda1efb6d3ca399a2776b735 XS.pm
+SHA256 df1cb8c721daa77372f1311c8d416a81058a7b643390b40f4aed1f2552fc9cbe XS.xs
+SHA256 55d63c69096dab1d031c7964b0d1b76e36b79a17052c092729193f22012e124e
XS/Boolean.pm
+SHA256 dc2a6f4060e5789623c5b014ced5ab02f5e801544fb283bf895b23a196196eb7
XS/Type.pm
SHA256 adca185de1f64d9861a3863ce44a3c3ac33fa478b0cb56a0aa309b8e40bcb577
bin/cpanel_json_xs
SHA256 0d188abe82c2270e7bc5fc21de1d8210bfc52118a834b22592781bb2879a6065
eg/bench
SHA256 215059161dfdee3a6ecaf0051ef766abbf5a83ef6f310a9b3b0abb3b574d6b0d
eg/bench_large.pl
@@ -52,19 +52,19 @@
SHA256 f2047975a3b8392feb6a87d782ecc7746ae2117bde57f716cc90877c8850f2e0
t/108_decode.t
SHA256 04e9e642b5cd82bc0504c1d91493ff09bbe04b9aa23c3019a6397caf1fc0a035
t/109_encode.t
SHA256 e393c5385fb32ec9639cf7f2cde19c73421ba33e153fc83ed6c5218087e7f4c6
t/10_pc_keysort.t
-SHA256 dec5be25eac413dee1163c44cd2c945d59d9df8e2e40065caf6d70c3bcaddc4c
t/110_bignum.t
+SHA256 3f1e1a9c1a2c31f21935515c3a4503a1b3c1cce62ea2a342134972392f2ad5b0
t/110_bignum.t
SHA256 1a70755f6fd2b222ed65828d73d4bdfffed82f0d19c81b64ad3888f06ff399f6
t/112_upgrade.t
SHA256 b207546715e27fe738f448fb0e1087b73bfd2a002c0254f656e6b4d47e154f58
t/113_overloaded_eq.t
SHA256 8c041a994fc0321eab07b96cfabeecdd0b22c9f057b8667af461c0d4d4c102fe
t/114_decode_prefix.t
SHA256 d8fc2223d440343e68c2c4bb0a62b191c468f9c42b4ef0a361219baf9449b36a
t/115_tie_ixhash.t
SHA256 93fd32735bec654c526f9d7ae3678b0994da3b386306853fe21f34b1598d9f14
t/116_incr_parse_fixed.t
-SHA256 2abd33e92ca89dd23688e960a76d31c6e400295edb2640b83771474a28ca45f8
t/117_numbers.t
+SHA256 c915710aefbb6a3bef8facc505c20315be963ea158e5a5dc79b8f33d1acf9184
t/117_numbers.t
SHA256 de74476296a8ce0257cfab6da68a8f3d4cfb54c5a2d4b1b51365b0d81ebe091f
t/118_type.t
SHA256 9b0f6cce174b4c9ace55baf6ab6a53fe4b5f9c7f4b3f656e0385d992a3374208
t/119_type_decode.t
SHA256 8f0f898f0499424740eea5e2537e97faee949b1e3981a1588b1a61645d942d3c
t/11_pc_expo.t
SHA256 16918dcee89eca9e9f840cc1fe9f110fad069909ef1adddcb07c4a03c8cee254
t/120_type_all_string.t
SHA256 6b7f40f384c96de4b37121d31af4b361d5a630a4bbd6601a995dc7d2e1a164b1
t/121_memleak.t
-SHA256 fb8a1d27cca000033328695c35f799677f24fbb76c803245b8ce00059e6e2ce5
t/122_type_encode.t
+SHA256 6becdf48d267c6c825d5a27b1531745b4915abf877234fcdff11a97a3374d889
t/122_type_encode.t
SHA256 782bc33e7b6e46d42a168713b0828db134c7885f67fdd35ac53619ba6476aef6
t/125_shared_boolean.t
SHA256 d3e5a27528e434aa211768121f26dd5462d5d9f52840e61199011bc3031ecf7d
t/126_encode_to.t
SHA256 fff40e34735911841cdd7c7b68744437bdb5f568e44ca2b52c71e82ea17fe1d7
t/127_schema_validate.t
@@ -72,14 +72,14 @@
SHA256 0ae52036fbf42023f6059ca47ce3357d73c6bd779e568e4fcea8ec526783dc5c
t/129_stringify_leak.t
SHA256 3e538942c54bb33a4833726e342afd1a8ee029903156d51d9c3321ef51a8862e
t/12_blessed.t
SHA256 ecc8c6c53a99dcaa76315f938779c98c1a36a64c0e6c6fa3372fb8be894f4d99
t/130_thaw_croak_leak.t
-SHA256 529232562081825ea923e4440ec2db88e9c467fc69f9784d53583938298a1a25
t/131_filter_self_removal.t
+SHA256 3839906116744e7144ca256c60d562c4f9e52977d61b49e920f6a04aeef7a0ca
t/131_filter_self_removal.t
SHA256 43a8dfc79182d0ea1462e9266bad1197bc172a9698c0fd002a8e9b0324112ca7
t/13_limit.t
SHA256 5500fcc9758d70d2c072957a5ac8829a879f648039e5d2f8502c2dc284989c54
t/14_latin1.t
SHA256 158b26605aebe84ab173858394924a04c20c2f8d69174d70c4f82ae52e403c5a
t/15_prefix.t
-SHA256 5b8f7bc8414becfdc3a8a0d8be4a102213a995b5012d8c5c33cdd549904ee6f8
t/16_tied.t
+SHA256 10bc4a7878a03375ac46effd24d3d57e990def21780836c9e8270191ad38d965
t/16_tied.t
SHA256 398e5ff51603a52de901f4c1934265601e226d05b88ac604dcd9e9d179a0344f
t/17_relaxed.t
SHA256 743cb701d822ce3f3700f63665b3abb02933d6427dec056dc241826a12fe9304
t/18_json_checker.t
-SHA256 85d8dcea4217e3127087e7ecf095e1088045be63ab6bbdc191af6019a5066710
t/19_incr.t
+SHA256 e6ac8ac3c2e4b7893da91e7f488780b006b6f3bbcb8c6d3996c5c4729cbf6ee9
t/19_incr.t
SHA256 41d4f29a28cb48f91b67b35adbd363e83dfdea0535701fdf0a19e79aa1334e4a
t/20_faihu.t
SHA256 56e11977ce3d544f8c8e62a38cbcc4f58f7f1d53b71918f803536acd62122713
t/20_unknown.t
SHA256 388f8e0f0e41c9921aedc67313f8b89bdd08b95ced0dba242986d3b76d9a1688
t/21_evans.t
@@ -87,7 +87,7 @@
SHA256 122205dd1c455ef13480816d9933eb8098a46e94c80b9ed54f4b7ff0f330b977
t/23_array_ctx.t
SHA256 a8dfccba0b60b0fc91812fcfd96656e993abb74970509926d738c67a58641f01
t/24_freeze_recursion.t
SHA256 837c64db6b940db32545072b17fc9a97dff6b8feaa832db1cb316b537e18595c
t/25_boolean.t
-SHA256 4b2bd3b47f59c33a94b5170ec1544f6e583f508c971d0e6a02824769bf1cc6a6
t/26_duplicate.t
+SHA256 9816f07555ec299857bf963182f029b7d815fa76657621c943a44ef3b9d6333a
t/26_duplicate.t
SHA256 6ce5e7e4851a2ce50ed38799428cdf89e4580a8cd2287770e46521163e493188
t/30_jsonspec.t
SHA256 6bc069d1999c995c1b1216f5b69572c0d83057ba46dfea752010306892b9df39
t/31_bom.t
SHA256 0363e944d11789ec3b7d6a7e7cfa89eca04702a7c590195ab2b70443f0655cc8
t/52_object.t
@@ -100,7 +100,7 @@
SHA256 f847d17e014f19232281a3f44184da5f6dc0d1efb2d817d03156d1ff3d152afa
t/97_unshare_hek.t
SHA256 e81d5910be174c0d4ba46688c2cbc195f91adcb6f896385860c6311e079f11ec
t/98_56only.t
SHA256 9fc914299ef9c35953f93cdce0d694394ab84337227d74cd0eafb831314cd568
t/99_binary.t
-SHA256 6d5164008acda5e14cbbf172f4301f661e2ac730e40881f94ca3119a2644d5ed
t/_unicode_handling.pm
+SHA256 545820e5ecd273d1cb3be9df404bb72f6d62c311d19f2148375c89b797d5a517
t/_unicode_handling.pm
SHA256 61b20d1f63cbbf9a9dfd757117927cda492e1a5bab7ed0d2790c82321819f845
t/appveyor-test.bat
SHA256 92123944cf252563cc9d402ad83df085a20f9899144b3b59661f898fcffd1e2b
t/test_parsing/i_number_neg_int_huge_exp.json
SHA256 873f021ffd6efe214578e87c45c470aa1e6fba5507eae9f17f4ad3544c1278ff
t/test_parsing/i_number_pos_double_huge_exp.json
@@ -458,15 +458,15 @@
SHA256 195f765492cf72780ccef3421b1aab37189dbab8764748e64c426fc9d0f41072
xt/versions.t
-----BEGIN PGP SIGNATURE-----
-iQGzBAEBAwAdFiEEOKQWew22nknF9yFsuMKIZqsnp6IFAmrPii8ACgkQuMKIZqsn
-p6I1fQwAvSZH01wRHVXId5qnXOunygSmd61mRfAaBqkiqZMYtUZDgbJehu/KRVzi
-DIpyd47rZI/CCCuTWvyc4KK1eX5DqmnwhNzCn9axaPnQX0jokarIDlFGN0PW1tOS
-6Eh+lrOBIlUagxLYDtbs/YNirPad+HwaKdjCf376+QxPhYUj5EpMQD5VH7aa/gwF
-BbZuJQclVfohhls6DpornqZQzSXIZMzhfWIUwru3hNhb0yC0i7TLi4uStZytaMVz
-+qJGl5WAueTI64jE3lRTKifriJ/Qj8EQnswihPAibbyW0jEG25Kqy7mAldkWag08
-pjXUAKdZwEfC5JXX2iMywK+R2bmAtvxiUfio0Hxof6zxO7gY+TDe0cHqAoze0exN
-hr2kjh0pji4dmIA7YAa6peJn6y2FCoTMwSxzKr6Jdnc0ppud1Cd3k5ftwKRewG+K
-VG2Y+rDWJPkJ0NPMUAmyiJYE1euiH9r+kSK5JIaVTKp2XQzpCekrMsgQVhFaQhGh
-K5PMr9je
-=Q1N4
+iQGzBAEBAwAdFiEEOKQWew22nknF9yFsuMKIZqsnp6IFAmr69wgACgkQuMKIZqsn
+p6LEmwwA0QhBZro+EMgLBCB6uFJ1ew13hqy77imF7XiRJRwTkAfgijL6bZWXw1Va
+lz1jLLtA3QEQBRmywDQt+jKVXN3Dv+gtgc+jRiEClJYPsjlI/DRFGyEp3JjO7+TM
+xqh+S3siiqovmWXowD5xH1I5FS2BO/x9oHehhGoj5KqqDSgtYQXA/0k6sJtcUpu0
+1vU42QhV1NLvphTWOlgQTmBmqHlzo64HfRkD0qIV6VlDaoN0iUmsEfoo6I+AuxXZ
+jhy7zqvWkZu+dXnJYFnC/mgJy5GFNr1tLcGGSuMOXQVlrdeN0HHZS/gYG6e3l+YP
+uBjtO5iBeb8JsMKYlOcoVdHvOYdZNeQy5INKF3djOU1mD1xXHPiiwxLCGVNEdKt/
+dpXJB0x9P7rsMYtHF30HI+87UomojFMncj3Zk3yZMo9A5fZaSCrtbfRrIMnh9csV
+gFCA7OeRf2cL4NQ+boTrb+XXpEvR3Ms/xK5w/LtrHO6A8qKzzWCY4vDzH0nPI2jC
+LbjJo+4D
+=Dsvx
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/XS/Boolean.pm
new/Cpanel-JSON-XS-4.82/XS/Boolean.pm
--- old/Cpanel-JSON-XS-4.80/XS/Boolean.pm 2026-10-14 10:25:00.000000000
+0200
+++ new/Cpanel-JSON-XS-4.82/XS/Boolean.pm 2026-11-16 13:28:23.000000000
+0100
@@ -20,7 +20,7 @@
use Cpanel::JSON::XS ();
-our $VERSION = '4.80';
+our $VERSION = '4.82';
1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/XS/Type.pm
new/Cpanel-JSON-XS-4.82/XS/Type.pm
--- old/Cpanel-JSON-XS-4.80/XS/Type.pm 2026-10-14 10:25:00.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/XS/Type.pm 2026-11-16 13:28:23.000000000 +0100
@@ -1,6 +1,6 @@
package Cpanel::JSON::XS::Type;
-our $VERSION = '4.80';
+our $VERSION = '4.82';
=pod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/XS.pm
new/Cpanel-JSON-XS-4.82/XS.pm
--- old/Cpanel-JSON-XS-4.80/XS.pm 2026-10-14 15:56:24.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/XS.pm 2026-11-16 13:28:23.000000000 +0100
@@ -1,5 +1,5 @@
package Cpanel::JSON::XS;
-our $VERSION = '4.80';
+our $VERSION = '4.82';
our $XS_VERSION = $VERSION;
# $VERSION = eval $VERSION;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/XS.xs
new/Cpanel-JSON-XS-4.82/XS.xs
--- old/Cpanel-JSON-XS-4.80/XS.xs 2026-10-14 15:56:24.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/XS.xs 2026-11-16 13:28:23.000000000 +0100
@@ -1557,14 +1557,36 @@
}
}
+/* HeSVKEY_force passes HeKUTF8 as the newSVpvn_flags flags on perls < 5.20,
+ which loses the UTF8 flag. Build the key SV ourselves. */
+static SV *
+he_key_sv (pTHX_ HE *he)
+{
+ SV *sv;
+ if (He_IS_SVKEY (he))
+ return HeKEY_sv (he);
+ sv = sv_2mortal (newSVpvn (HeKEY (he), HeKLEN (he)));
+ if (HeKUTF8 (he))
+ SvUTF8_on (sv);
+ return sv;
+}
+
/* compare hash entries, used when some keys are SV's or UTF-8 */
static int
he_cmp_slow (const void *a, const void *b)
{
dTHX;
- return utf16_cmp (aTHX_ HeSVKEY_force (*(HE **)b), HeSVKEY_force (*(HE
**)a));
+ return utf16_cmp (aTHX_ he_key_sv (aTHX_ *(HE **)b), he_key_sv (aTHX_ *(HE
**)a));
}
+/* Private copy of one entry of a tied hash: a HE plus room for a
+ HEK which holds only an SV* key */
+struct tied_entry_copy
+{
+ HE he;
+ char hek[sizeof (struct hek) + sizeof (SV *) + 2];
+};
+
/* compare tied hash entries, guaranteed SV's */
static int
he_cmp_tied (const void *a, const void *b)
@@ -1665,6 +1687,7 @@
if (count > 0)
{
int has_utf8 = 0;
+ struct tied_entry_copy *tied_entries = NULL;
/* allocate larger arrays on the heap */
if (count > STACK_HES)
@@ -1673,6 +1696,15 @@
hes = (HE **)SvPVX (sv);
}
+ /* one zeroed mortal buffer for the copies of all tied entries.
+ i < count is enforced below, so it cannot overflow. */
+ if (UNLIKELY (is_tied))
+ {
+ SV *copies_sv = sv_2mortal (NEWSV (0, count * sizeof (struct
tied_entry_copy)));
+ tied_entries = (struct tied_entry_copy *)SvPVX (copies_sv);
+ Zero (tied_entries, count, struct tied_entry_copy);
+ }
+
i = 0;
/* fill the HE vector and check if SVKEY or UTF8 */
while ((he = hv_iternext (hv)))
@@ -1681,10 +1713,13 @@
croak ("Unstable %shash key counts %d vs %d in subsequent
runs",
is_tied ? "tied " : "", (int)count, (int)i + 1);
if (UNLIKELY(is_tied))
- { // tied entries are completely freed in the next iteration
- HE *he1;
- Newz(0,he1,1,HE);
- he1->hent_hek = (HEK*)safecalloc (1, sizeof (struct hek) +
sizeof (SV*) + 2);
+ { /* tied entries are completely freed by perl on each scan
iteration,
+ so we will make a private copy here. It lives in the
mortal buffer
+ allocated above, so perl frees it later (at the next
FREETMPS),
+ no matter how this function is left, by a normal return()
+ or by croak() */
+ HE *he1 = &tied_entries[i].he;
+ he1->hent_hek = (HEK *)tied_entries[i].hek;
HeVAL(he1) = hv_iterval(hv, he);
HeSVKEY_set (he1, hv_iterkeysv(he));
hes[i++] = he1;
@@ -1768,11 +1803,6 @@
: hv_iterval(hv, he),
typesv);
- if (is_tied)
- {
- Safefree (he->hent_hek);
- Safefree (he);
- }
if (count)
encode_comma(aTHX_ enc);
}
@@ -2147,7 +2177,18 @@
encode_stringify(aTHX_ enc, rv, 1);
}
else if (enc->json.flags & F_CONV_BLESSED)
- encode_stringify(aTHX_ enc, sv, 0);
+ {
+ /* do not expand huge Math::BigFloat exponents into digits */
+ SV *compact = bignum_compact (aTHX_ rv);
+ if (compact)
+ {
+ STRLEN clen;
+ char *cstr = SvPV (compact, clen);
+ encode_str (aTHX_ enc, cstr, clen, 0);
+ }
+ else
+ encode_stringify(aTHX_ enc, sv, 0);
+ }
else if (enc->json.flags & F_ALLOW_BLESSED)
encode_const_str (aTHX_ enc, "null", 4, 0);
else
@@ -2244,7 +2285,7 @@
if (!encode_bool_ref (aTHX_ enc, sv))
{
/* Use default stringification, bypassing any "" overload (GH
#191). */
- const char *name = HvNAME(SvSTASH(sv));
+ const char *name = SvOBJECT(sv) ? HvNAME(SvSTASH(sv)) : NULL;
SV *desc = sv_2mortal(newSVpvf("%s=%s(0x%p)",
name ? name : "(unknown)", sv_reftype(sv, 0), sv));
croak ("cannot encode reference to scalar '%s' unless the scalar
is 0 or 1",
@@ -2554,7 +2595,7 @@
str++;
len--;
}
- need (aTHX_ enc, len+1);
+ need (aTHX_ enc, len+1+2); /* +2 for '.0' */
savecur = enc->cur;
saveend = enc->end;
memcpy (enc->cur, str, len);
@@ -4130,6 +4171,8 @@
return sv;
fail:
+ if (sv)
+ SvREFCNT_dec (sv);
dec->cur = dec_cur;
return 0;
}
@@ -4246,7 +4289,7 @@
if (numtype & IS_NUMBER_NEG)
{
if (uv <= (UV)(IV_MAX) + 1)
- return newSViv (-(IV)uv);
+ return newSViv (uv == (UV)IV_MAX + 1 ? IV_MIN : -(IV)uv);
}
else
return newSVuv (uv);
@@ -4326,6 +4369,11 @@
AV *av = newAV ();
AV *typeav = NULL;
SV *typerv;
+ int hooked = (dec->json.flags & F_HOOK) != 0;
+ /* a croaking filter callback would leak this container, which is only
+ referenced from the C stack; hold a mortal reference while hooks can run
*/
+ if (UNLIKELY (hooked))
+ sv_2mortal ((SV *)av);
DEC_INC_DEPTH;
decode_ws (dec);
@@ -4382,10 +4430,11 @@
}
DEC_DEC_DEPTH;
- return newRV_noinc ((SV *)av);
+ return hooked ? newRV_inc ((SV *)av) : newRV_noinc ((SV *)av);
fail:
- SvREFCNT_dec (av);
+ if (!hooked)
+ SvREFCNT_dec (av);
DEC_DEC_DEPTH;
return 0;
}
@@ -4431,6 +4480,10 @@
int dupkeys_as_arrayref = dec->json.flags & F_DUPKEYS_AS_AREF;
HV *dupkeys_seen = NULL;
char endstr = '"';
+ int hooked = (dec->json.flags & F_HOOK) != 0;
+
+ if (UNLIKELY (hooked))
+ sv_2mortal ((SV *)hv);
DEC_INC_DEPTH;
decode_ws (dec);
@@ -4698,7 +4751,7 @@
}
DEC_DEC_DEPTH;
- sv = newRV_noinc ((SV *)hv);
+ sv = hooked ? newRV_inc ((SV *)hv) : newRV_noinc ((SV *)hv);
/* check filter callbacks */
if (dec->json.flags & F_HOOK)
@@ -4774,7 +4827,8 @@
return sv;
fail:
- SvREFCNT_dec (hv);
+ if (!hooked)
+ SvREFCNT_dec (hv);
DEC_DEC_DEPTH;
return 0;
}
@@ -5208,7 +5262,7 @@
// or __attribute__((optimize("no-tree-vectorize")))
__attribute__((optimize("O0")))
#endif
-static void
+static int
incr_parse (JSON *self)
{
const char *p = SvPVX (self->incr_text) + self->incr_pos;
@@ -5404,6 +5458,11 @@
interrupt:
self->incr_pos = p - SvPVX (self->incr_text);
+
+ /* a NUL before the end of the buffer is not "need more data": without
+ this the parser would stall silently and the buffer grow forever.
+ The caller decides, so that values already complete are still returned. */
+ return p < SvEND (self->incr_text) && !INCR_DONE (self);
/*printf ("interrupt<%.*s>\n", self->incr_pos, SvPVX(self->incr_text));//D */
/*printf ("return pos %d mode %d nest %d\n", self->incr_pos,
self->incr_mode, self->incr_nest);//D */
}
@@ -5700,10 +5759,16 @@
if (DECODE_WANTS_OCTETS (self))
{
if (self->incr_pos)
- self->incr_pos = utf8_length ((U8 *)SvPVX (self->incr_text),
- (U8 *)SvPVX (self->incr_text) +
self->incr_pos);
-
- sv_utf8_downgrade (self->incr_text, 0);
+ {
+ /* may croak on wide characters, so only update the offset
+ once the text really has been downgraded */
+ STRLEN newpos = utf8_length ((U8 *)SvPVX (self->incr_text),
+ (U8 *)SvPVX (self->incr_text) +
self->incr_pos);
+ sv_utf8_downgrade (self->incr_text, 0);
+ self->incr_pos = newpos;
+ }
+ else
+ sv_utf8_downgrade (self->incr_text, 0);
}
else
{
@@ -5754,7 +5819,18 @@
if (!INCR_DONE (self))
{
- incr_parse (self);
+ if (UNLIKELY (incr_parse (self)))
+ {
+ /* nothing returned yet: report it */
+ if (SP <= PL_stack_base + ax - 1)
+ {
+ /* count the NUL as consumed so that incr_skip drops
it */
+ ++self->incr_pos;
+ croak ("malformed JSON string, unexpected NUL byte
in incremental text, at character offset %lu",
+ (unsigned long)(self->incr_pos - 1));
+ }
+ break;
+ }
if (UNLIKELY(self->max_size && INCR_SIZE (self) >
self->max_size))
croak ("attempted decode of JSON text of %lu bytes size,
but max_size is set to %lu",
@@ -5780,7 +5856,9 @@
XPUSHs (sv);
endp = SvPVX(self->incr_text) + offset;
- self->incr_pos -= offset;
+ /* the incremental scanner may have stopped earlier than the
real parser,
+ e.g. with allow_barekey, so never let this underflow */
+ self->incr_pos = self->incr_pos > offset ? self->incr_pos -
offset : 0;
self->incr_nest = 0;
self->incr_mode = 0;
#if PERL_VERSION > 9
@@ -5829,6 +5907,8 @@
{
if (self->incr_pos)
{
+ if (self->incr_pos > SvCUR (self->incr_text))
+ self->incr_pos = SvCUR (self->incr_text);
sv_chop (self->incr_text, SvPV_nolen (self->incr_text) +
self->incr_pos);
self->incr_pos = 0;
self->incr_nest = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/110_bignum.t
new/Cpanel-JSON-XS-4.82/t/110_bignum.t
--- old/Cpanel-JSON-XS-4.80/t/110_bignum.t 2026-10-14 15:56:24.000000000
+0200
+++ new/Cpanel-JSON-XS-4.82/t/110_bignum.t 2026-11-16 13:28:23.000000000
+0100
@@ -8,7 +8,7 @@
}
use Test::More $has_bignum
- ? (tests => 23 + scalar(@DOS_DIGITS))
+ ? (tests => 24 + scalar(@DOS_DIGITS))
: (skip_all => "Can't load Math::BigInt");
use Cpanel::JSON::XS;
use Scalar::Util ();
@@ -112,3 +112,10 @@
is( $json1->encode($json->decode('[1e20]')), '[100000000000000000000]',
"compact" );
unlike( $json1->encode(['NaN'], [JSON_TYPE_INT]), qr/NaN/, "Catch typed int
NaN" );
}
+
+SKIP: {
+ skip "no Math::BigFloat", 1 unless $has_bignum;
+ my $v = Cpanel::JSON::XS->new->allow_bignum->decode('2e100000000');
+ my $out = Cpanel::JSON::XS->new->convert_blessed->encode([$v]);
+ ok( length $out < 100, "convert_blessed keeps huge Math::BigFloat exponents
compact" );
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/117_numbers.t
new/Cpanel-JSON-XS-4.82/t/117_numbers.t
--- old/Cpanel-JSON-XS-4.80/t/117_numbers.t 2026-09-28 10:34:52.000000000
+0200
+++ new/Cpanel-JSON-XS-4.82/t/117_numbers.t 2026-11-16 13:28:23.000000000
+0100
@@ -3,7 +3,7 @@
use Test::More;
use Config;
plan skip_all => "Yet unhandled inf/nan with $^O" if $^O eq 'dec_osf';
-plan tests => 32;
+plan tests => 33;
# infnan_mode = 0:
is encode_json([9**9**9]), '[null]', "inf -> null stringify_infnan(0)";
@@ -174,3 +174,6 @@
eval { $decode_numbers->decode('1.2e3.5') };
like($@, qr/malformed number \(two decimal points\)/,
'decode rejects a decimal point after an exponent');
+
+is(Cpanel::JSON::XS->new->decode('[-9223372036854775808]')->[0],
'-9223372036854775808',
+ 'decode IV_MIN');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/122_type_encode.t
new/Cpanel-JSON-XS-4.82/t/122_type_encode.t
--- old/Cpanel-JSON-XS-4.80/t/122_type_encode.t 2026-10-14 10:25:00.000000000
+0200
+++ new/Cpanel-JSON-XS-4.82/t/122_type_encode.t 2026-11-16 13:28:23.000000000
+0100
@@ -4,7 +4,7 @@
use Cpanel::JSON::XS;
use Cpanel::JSON::XS::Type;
-use Test::More tests => 30;
+use Test::More tests => 32;
# GH #240: encode with type_spec must not modify the type_spec hash
@@ -119,3 +119,14 @@
like($@, qr/no type was specified for hash key 'a'/,
'undeclared hash keys still croak (GH #242 stays strict by default)');
}
+
+# JSON_TYPE_BOOL of a reference to a scalar other than 0 or 1 used to crash
+eval { Cpanel::JSON::XS->new->encode(\2, JSON_TYPE_BOOL) };
+like($@, qr/cannot encode reference to scalar/,
+ 'JSON_TYPE_BOOL of \2 croaks');
+
+# the ".0" appended to an integer with allow_bignum overflowed the buffer
+is(Cpanel::JSON::XS->new->allow_bignum->encode({ k1 => 1446800527275131137 },
+
json_type_hashof(JSON_TYPE_FLOAT)),
+ '{"k1":1446800527275131137.0}',
+ 'JSON_TYPE_FLOAT integer with allow_bignum gets ".0"');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/131_filter_self_removal.t
new/Cpanel-JSON-XS-4.82/t/131_filter_self_removal.t
--- old/Cpanel-JSON-XS-4.80/t/131_filter_self_removal.t 2026-10-14
15:56:24.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/t/131_filter_self_removal.t 2026-11-16
13:28:23.000000000 +0100
@@ -1,5 +1,5 @@
use strict;
-use Test::More tests => 1;
+use Test::More tests => 2;
use Cpanel::JSON::XS;
@@ -14,3 +14,7 @@
});
$json->decode('{"outer":{"k":"Ghost::run"}}');
is( $called, 0, "callback removed itself in filter" );
+
+# a dying callback frees the enclosing containers (no leak); the error
propagates
+eval { Cpanel::JSON::XS->new->filter_json_object(sub { die "cb\n"
})->decode('[[{"a":1}]]') };
+is( $@, "cb\n", "dying filter callback propagates" );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/16_tied.t
new/Cpanel-JSON-XS-4.82/t/16_tied.t
--- old/Cpanel-JSON-XS-4.80/t/16_tied.t 2026-10-14 15:56:24.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/t/16_tied.t 2026-11-09 12:29:27.000000000 +0100
@@ -1,4 +1,4 @@
-use Test::More tests => 5;
+use Test::More tests => 6;
use Cpanel::JSON::XS;
use Tie::Hash;
use Tie::Array;
@@ -35,3 +35,10 @@
tie my %h, 'Growing';
eval { Cpanel::JSON::XS->new->canonical->encode(\%h) };
like( $@, qr/Unstable tied hash key counts/, "Unstable tied hash key counts" );
+
+# One more check for croak inside encode XS-code
+# This might expose memory leaks, if we have any, when we run tests with ASan
or valgrind
+tie my %h2, 'Tie::StdHash';
+%h2 = (a => 1, b => 2, c => sub { 1 }, d => 4);
+eval { Cpanel::JSON::XS->new->canonical->encode(\%h2) };
+like( $@, qr/encountered CODE/, "croak on unencodable value in a canonical
tied hash" );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/19_incr.t
new/Cpanel-JSON-XS-4.82/t/19_incr.t
--- old/Cpanel-JSON-XS-4.80/t/19_incr.t 2026-10-14 15:56:24.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/t/19_incr.t 2026-11-16 13:28:23.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
no warnings;
-use Test::More $] < 5.008 ? (tests => 39) : (tests => 724);
+use Test::More $] < 5.008 ? (tests => 39) : (tests => 730);
use Cpanel::JSON::XS;
@@ -204,3 +204,31 @@
like( $@, qr/malformed UTF-8/, "Catch malformed UTF-8" );
is_deeply( [ Cpanel::JSON::XS->new->utf8->incr_parse(qq(["\xc3\xa9"] [1]))
], [ ["\x{e9}"], [1] ] );
}
+
+# wide characters make the downgrade croak: the incr state must stay consistent
+{
+ my $dec = Cpanel::JSON::XS->new->utf8->allow_nonref;
+ eval { $dec->incr_parse("[1] ") };
+ eval { $dec->incr_parse("[1]\x{feff}[2]") };
+ eval { $dec->incr_skip };
+ ok( 1, "incr_skip after a failed downgrade does not corrupt the buffer" );
+}
+
+# a NUL byte between values must not stall the parser
+{
+ my $dec = Cpanel::JSON::XS->new;
+ my @v = $dec->incr_parse("[1]\x00[2]");
+ is( scalar @v, 1, "complete value before a NUL byte is returned" );
+ my $x = eval { $dec->incr_parse("[3]") };
+ like( $@, qr/unexpected NUL byte/, "NUL byte in incr_parse is an error" );
+ $dec->incr_skip;
+ is( $dec->incr_text, "[2][3]", "incr_skip drops the NUL byte" );
+ is( scalar(() = Cpanel::JSON::XS->new->incr_parse("[1]")), 1, "no NUL, no
error" );
+}
+
+# allow_barekey: the incr scanner ends the value earlier than the decoder
+{
+ my $dec = Cpanel::JSON::XS->new->allow_barekey;
+ my @v = eval { $dec->incr_parse("\x7b\x5d\x22\x3a\x22\x23\x22\x7d") };
+ is( scalar @v, 1, "allow_barekey incr_parse does not underflow incr_pos" );
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/26_duplicate.t
new/Cpanel-JSON-XS-4.82/t/26_duplicate.t
--- old/Cpanel-JSON-XS-4.80/t/26_duplicate.t 2026-10-14 15:56:24.000000000
+0200
+++ new/Cpanel-JSON-XS-4.82/t/26_duplicate.t 2026-11-16 13:28:23.000000000
+0100
@@ -85,7 +85,7 @@
SKIP: {
# Devel::Peek::SvREFCNT(@array) is supported since 5.19.3
- skip "v5.19.3" if $] < 5.019003;
+ skip "v5.19.3", 2 if $] < 5.019003;
use Devel::Peek;
my $h = Cpanel::JSON::XS->new->dupkeys_as_arrayref->decode('{"a":1,"a":2}');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.80/t/_unicode_handling.pm
new/Cpanel-JSON-XS-4.82/t/_unicode_handling.pm
--- old/Cpanel-JSON-XS-4.80/t/_unicode_handling.pm 2026-10-14
10:25:00.000000000 +0200
+++ new/Cpanel-JSON-XS-4.82/t/_unicode_handling.pm 2026-11-16
13:28:23.000000000 +0100
@@ -2,7 +2,7 @@
package
_unicode_handling;
-our $VERSION = '4.80';
+our $VERSION = '4.82';
# this is a dummy pragma for 5.005.
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.ednqyG/_old 2026-11-18 18:34:08.591446626 +0100
+++ /var/tmp/diff_new_pack.ednqyG/_new 2026-11-18 18:34:08.596446838 +0100
@@ -1,6 +1,6 @@
-mtime: 1792506013
-commit: 67667a1e3bfcc5596a278d0d4940242a7463c5999c612ab4ac1ef5a8819b0451
+mtime: 1795005227
+commit: 6e36dcb483fd7dceda75f557827125ac8766e8a77c71331067d967a08de4e2e2
url: https://src.opensuse.org/perl/perl-Cpanel-JSON-XS
-revision: 67667a1e3bfcc5596a278d0d4940242a7463c5999c612ab4ac1ef5a8819b0451
+revision: 6e36dcb483fd7dceda75f557827125ac8766e8a77c71331067d967a08de4e2e2
projectscmsync: https://src.opensuse.org/perl/_ObsPrj
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-11-18 13:33:47.000000000 +0100
@@ -0,0 +1 @@
+.osc