diff --git a/coreutils-i18n.patch b/coreutils-i18n.patch index 92f35b5..c73fde2 100644 --- a/coreutils-i18n.patch +++ b/coreutils-i18n.patch @@ -1968,7 +1968,7 @@ index 941ad11..bdc466d 100644 /* Look for the last blank. */ while (logical_end) { -@@ -214,13 +251,224 @@ fold_file (char const *filename, size_t width) +@@ -214,13 +251,225 @@ fold_file (char const *filename, size_t width) line_out[offset_out++] = c; } @@ -2050,6 +2050,7 @@ index 941ad11..bdc466d 100644 + + /* Get a wide character. */ + state_bak = state; ++ convfail = 0; + mblength = mbrtowc ((wchar_t *)&wc, bufpos, buflen, &state); + + switch (mblength) diff --git a/coreutils.spec b/coreutils.spec index 84ce1c1..1d4a664 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,7 +1,7 @@ Summary: A set of basic GNU tools commonly used in shell scripts Name: coreutils Version: 9.5 -Release: 6%{?dist} +Release: 7%{?dist} # some used parts of gnulib are under various variants of LGPL License: GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later Url: https://www.gnu.org/software/coreutils/ @@ -273,6 +273,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir %license COPYING %changelog +* Thu Jan 15 2026 Lukáš Zaoral - 9.5-7 +- fold: fix processing of malformed UTF-8 sequences (RHEL-140116) + * Tue Nov 26 2024 Lukáš Zaoral - 9.5-6 - Fix affinity mask handling in nproc for large CPU counts (RHEL-68961)