File _patchinfo of Package patchinfo.4033
<patchinfo incident="4033">
<issue id="1023419" tracker="bnc">mksh is not able to print negative values</issue>
<issue id="1029664" tracker="bnc">mksh: update to version R50f fixes two minor security issues</issue>
<issue id="1035233" tracker="bnc">Use upstream stable branch for mksh</issue>
<issue id="322996" tracker="fate"/>
<category>recommended</category>
<rating>moderate</rating>
<packager>leonardocf</packager>
<description>
This update provides mksh R50f, which brings several fixes and enhancements:
- Fix printing of negative integer values with 'print -R'. (bsc#1023419)
- Make unset HISTFILE actually work. (bsc#1029664)
- Do not permit += from environment. (bsc#1029664)
- Handle integer base out of band like ksh93 does.
- Protect standard code (predefined aliases, internal code, aliases and functions in
dot.mkshrc) from being overridden by aliases and, in some cases, shell functions.
- Implement GNU bash's enable for dot.mkshrc using magic aliases to redirect the
builtins to external utilities; this differs from GNU bash in that enable takes
precedence over functions.
- Move unaliasing an identifier when defining a POSIX-style function with the same
name into lksh, for compatibility.
- Korn shell style functions now have locally scoped shell options.
- Fix read -n-1 to not be identical to read -N-1.
- Several fixes and improvements to lksh(1) and mksh(1) man pages.
- Fix issues with IFS='\' read.
- Fix integer overflows related to file descriptor parsing, reduce memory usage for I/O redirs.
- Fix miscalculating required memory for encoding the double-quoted parts of a here document
or here string delimiter, leading to a buffer overflow.
- Add options -a argv0 and -c to exec.
- Prevent use-after-free when hitting multiple errors unwinding.
- Fix use of $* and $@ in scalar context: within [[ ... ]] and after case and in here documents.
- Fix set -x in PS4 expansion infinite loop.
- Fix rare infinite loop with invalid UTF-8 in the edit buffer.
- Make the cat(1) builtin also interruptible in the write loop, not just in the read loop.
- We use update-alternatives so there is no need to obsolete ksh.
For a comprehensive list of changes please refer to the package's change log.
</description>
<summary>Recommended update for mksh</summary>
</patchinfo>