diff --git a/bash-4.4-patches.tar.bz2 b/bash-4.4-patches.tar.bz2 index 62abd12d..6200d8da 100644 --- a/bash-4.4-patches.tar.bz2 +++ b/bash-4.4-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:54b118825c9c8496d01e1a1eab54ab8a08a7605d5781772a38ec87bdf676048c -size 239 +oid sha256:14dccf11ec530ff79696ddf8648b9d9e56c924804c8ec73eba78ca9c3581b5c0 +size 3408 diff --git a/bash.changes b/bash.changes index 5d1eb43e..40bab4ae 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Thu Nov 17 09:27:21 UTC 2016 - werner@suse.de + +- Add upstream patch bash44-001 + Bash-4.4 changed the way the history list is initially allocated to reduce + the number of reallocations and copies. Users who set HISTSIZE to a very + large number to essentially unlimit the size of the history list will get + memory allocation errors +- Add upstream patch bash44-002 + Bash-4.4 warns when discarding NUL bytes in command substitution output + instead of silently dropping them. This patch changes the warnings from + one per NUL byte encountered to one warning per command substitution. +- Drop no-null-warning.patch as bash44-002 is official replacement +- Add upstream patch bash44-003 + Specially-crafted input, in this case an incomplete pathname expansion + bracket expression containing an invalid collating symbol, can cause the + shell to crash. +- Add upstream patch bash44-004 + There is a race condition that can result in bash referencing freed memory + when freeing data associated with the last process substitution. +- Add upstream patch bash44-005 + Under certain circumstances, a simple command is optimized to eliminate a + fork, resulting in an EXIT trap not being executed. (boo#1008459) +- Add upstream patch readline70-001 + Readline-7.0 changed the way the history list is initially allocated to reduce + the number of reallocations and copies. Users who set the readline + history-size variable to a very large number to essentially unlimit the size + of the history list will get memory allocation errors + ------------------------------------------------------------------- Mon Oct 24 13:51:10 UTC 2016 - schwab@suse.de diff --git a/bash.spec b/bash.spec index cbe3c5c4..fc0ede2d 100644 --- a/bash.spec +++ b/bash.spec @@ -98,8 +98,6 @@ Patch47: bash-4.3-perl522.patch Patch48: bash-4.3-extra-import-func.patch # PATCH-EXTEND-SUSE Allow root to clean file system if filled up Patch49: bash-4.3-pathtemp.patch -# PATCH-FIX-OPENSUSE Don't warn about null bytes in command substitution -Patch50: no-null-warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc %global _incdir %{_includedir} @@ -308,7 +306,6 @@ done %patch48 -b .eif %endif %patch49 -p0 -b .pthtmp -%patch50 -p1 %patch0 -p0 -b .0 pushd ../readline-%{rl_vers}%{rextend} for patch in ../readline-%{rl_vers}-patches/*; do diff --git a/no-null-warning.patch b/no-null-warning.patch deleted file mode 100644 index 22846376..00000000 --- a/no-null-warning.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: bash-4.4/subst.c -=================================================================== ---- bash-4.4.orig/subst.c -+++ bash-4.4/subst.c -@@ -5955,7 +5955,7 @@ read_comsub (fd, quoted, rflag) - - if (c == 0) - { --#if 1 -+#if 0 - internal_warning ("%s", _("command substitution: ignored null byte in input")); - #endif - continue; diff --git a/readline-7.0-patches.tar.bz2 b/readline-7.0-patches.tar.bz2 index a40ff20f..2c13a9c9 100644 --- a/readline-7.0-patches.tar.bz2 +++ b/readline-7.0-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8b17bff71f2c189504471f7d05193f4ab5ccd7c4e1f4064ab055d8b6e7997d40 -size 256 +oid sha256:19d888f6cab86092262544ddc1f999dd00d2c5c9c6947045300ed57a61e6f81d +size 1128