- Add patches 13-18 to bash-4.4-patches.tar.bz2
* 13: If a here-document contains a command substitution, the
command substitution can get access to the file descriptor used
to write the here-document.
* 14: Under some circumstances, functions that return via the
`return' builtin do not clean up memory they allocated to keep
track of FIFOs.
* 15: Process substitution can leak internal quoting to the
parser in the invoked subshell.
* 16: Bash can perform trap processing while reading command
substitution output instead of waiting until the command
completes.
* 17: There is a memory leak when `read -e' is used to read a
line using readline.
* 18: Under certain circumstances (e.g., reading from /dev/zero),
read(2) will not return -1 even when interrupted by a signal.
The read builtin needs to check for signals in this case.
- partial cleanup with spec-cleaner
OBS-URL: https://build.opensuse.org/request/show/570849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=142
- Add patches 13-18 to bash-4.4-patches.tar.bz2
* 13: If a here-document contains a command substitution, the
command substitution can get access to the file descriptor used
to write the here-document.
* 14: Under some circumstances, functions that return via the
`return' builtin do not clean up memory they allocated to keep
track of FIFOs.
* 15: Process substitution can leak internal quoting to the
parser in the invoked subshell.
* 16: Bash can perform trap processing while reading command
substitution output instead of waiting until the command
completes.
* 17: There is a memory leak when `read -e' is used to read a
line using readline.
* 18: Under certain circumstances (e.g., reading from /dev/zero),
read(2) will not return -1 even when interrupted by a signal.
The read builtin needs to check for signals in this case.
- partial cleanup with spec-cleaner
OBS-URL: https://build.opensuse.org/request/show/570827
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=248
- Add upstream patch readline70-002 which replace old one
There is a race condition in add_history() that can be triggered by a fatal
signal arriving between the time the history length is updated and the time
the history list update is completed. A later attempt to reference an
invalid history entry can cause a crash.
- Add upstream patch readline70-003
Readline-7.0 uses pselect(2) to allow readline to handle signals that do not
interrupt read(2), such as SIGALRM, before reading another character. The
signal mask used in the pselect call did not take into account signals the
calling application blocked before calling readline().
- Add upstream patch bash44-006
Out-of-range negative offsets to popd can cause the shell to crash
attempting to free an invalid memory block.
- Remove patch popd-offset-overflow.patch to use bash44-006
- Add upstream patch bash44-007
When performing filename completion, bash dequotes the directory
name being completed, which can result in match failures and
potential unwanted expansion.
- Duplicate bash44-007 as readline70-002 as it seems to be missed
- Add upstream patch bash44-008
Under certain circumstances, bash will evaluate arithmetic
expressions as part of reading an expression token even when
evaluation is suppressed. This happens while evaluating a
conditional expression and skipping over the failed branch of the
expression.
- Add upstream patch bash44-009
There is a race condition in add_history() that can be triggered
by a fatal signal arriving between the time the history length
is updated and the time the history list update is completed.
OBS-URL: https://build.opensuse.org/request/show/453464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=135
- Add upstream patch bash43-034
If neither the -f nor -v options is supplied to unset, and a name argument is
found to be a function and unset, subsequent name arguments are not treated as
variables before attempting to unset a function by that name.
- Add upstream patch bash43-035
A locale with a long name can trigger a buffer overflow and core dump. This
applies on systems that do not have locale_charset in libc, are not using
GNU libiconv, and are not using the libintl that ships with bash in lib/intl.
- Add upstream patch bash43-036
When evaluating and setting integer variables, and the assignment fails to
create a variable (for example, when performing an operation on an array
variable with an invalid subscript), bash attempts to dereference a null
pointer, causing a segmentation violation.
- Add upstream patch bash43-037
If an associative array uses `@' or `*' as a subscript, `declare -p' produces
output that cannot be reused as input.
- Add upstream patch bash43-038
There are a number of instances where `time' is not recognized as a reserved
word when the shell grammar says it should be.
OBS-URL: https://build.opensuse.org/request/show/309045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=124