Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bash for openSUSE:Factory checked in at 2026-10-15 12:25:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bash (Old) and /work/SRC/openSUSE:Factory/.bash.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bash" Thu Oct 15 12:25:25 2026 rev:209 rq:1384763 version:5.3.MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/bash/bash.changes 2026-09-28 10:34:54.956957466 +0200 +++ /work/SRC/openSUSE:Factory/.bash.new.3698736/bash.changes 2026-10-15 12:25:27.148405514 +0200 @@ -1,0 +2,8 @@ +Wed Oct 7 09:24:48 UTC 2026 - Dr. Werner Fink <[email protected]> + +- Add temporary patch bash-5.3.19-workaround.patch from mailing list + * Patch 19 (commit 549639c) changed legal_variable_starter() in general.h + to index sh_syntaxtab[] directly, but without the (unsigned char) cast + that the sibling macros in syntax.h use (shellmeta, shellbreak, shellquote). + +------------------------------------------------------------------- New: ---- bash-5.3.19-workaround.patch ----------(New B)---------- New: - Add temporary patch bash-5.3.19-workaround.patch from mailing list * Patch 19 (commit 549639c) changed legal_variable_starter() in general.h ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash.spec ++++++ --- /var/tmp/diff_new_pack.mzE8Ah/_old 2026-10-15 12:25:29.091486822 +0200 +++ /var/tmp/diff_new_pack.mzE8Ah/_new 2026-10-15 12:25:29.093486905 +0200 @@ -88,6 +88,8 @@ Patch50: quotes-man2html.patch # PATCH-UPSTREAM-CHERRY-PICKED Patch51: risc-v.patch +# PATCH-UPSTREAM-MAILINGLIST +Patch52: bash-5.3.19-workaround.patch BuildRequires: autoconf # latest bash uses with patch 18 the tag YYEOF BuildRequires: bison @@ -277,6 +279,7 @@ %patch -P49 -b .pthtmp %patch -P50 -b .qd %patch -P51 -p1 -b .riscv +%patch -P52 -b .cast %patch -P0 -b .p0 # This has to be always the same version as included in the bash its self @@ -503,6 +506,7 @@ sed -i -e "s|PO-Revision-Date: .*|PO-Revision-Date: ${REPRO_DATE}\\\\n\"|" po/en@*.po %make_build $makeopts documentation grep -F '$'\' doc/bash.html %{nil:test for boo#1203091} + #' %check SOURCE_DATE_EPOCH="$(date -u -r .source_date_epoch +%%s)" ++++++ bash-5.3.19-workaround.patch ++++++ Patch 19 (commit 549639c) changed legal_variable_starter() in general.h to index sh_syntaxtab[] directly, but without the (unsigned char) cast that the sibling macros in syntax.h use (shellmeta, shellbreak, shellquote). The one caller that passes a signed char without pre-casting -- subst.c:9798 in parameter_brace_expand() -- now reads out of bounds of sh_syntaxtab[] for any input byte in 0x80-0xFF. Abderrahmane Sebban --- general.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- general.h +++ general.h 2026-10-07 09:20:53.702367002 +0000 @@ -117,8 +117,8 @@ extern char *strcpy (char *, const char #define legal_variable_starter(c) (c < 128 && (ISALPHA(c) || c == '_')) #define legal_variable_char(c) (c < 128 && (ISALNUM(c) || c == '_')) #else -#define legal_variable_starter(c) (sh_syntaxtab[c] & CNAMESTART) -#define legal_variable_char(c) (sh_syntaxtab[c] & CNAME) +#define legal_variable_starter(c) (sh_syntaxtab[(unsigned char)(c)] & CNAMESTART) +#define legal_variable_char(c) (sh_syntaxtab[(unsigned char)(c)] & CNAME) #endif /* Definitions used in subst.c and by the `read' builtin for field
