busybox/shell/hush_test
Denys Vlasenko 45dd87aac0 ash: expand: Ensure result is escaped in cvtnum
Upstream commit:

    Date: Fri, 1 Jun 2018 18:25:29 +0800
    expand: Ensure result is escaped in cvtnum

    The minus sign generated from arithmetic expansion is currently
    unquoted which causes anomalies when the result is used in where
    the quoting matters.

    This patch fixes it by explicitly calling memtodest on the result
    in cvtnum.

    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-02-21 16:30:44 +01:00
..
hush-arith
hush-bugs
hush-getopts
hush-glob
hush-heredoc
hush-invert
hush-leak
hush-misc hush: make "exit" in trap use pre-trap exitcode - fix for nested trap 2020-02-21 02:55:53 +01:00
hush-parsing
hush-psubst ash: expand: Fix trailing newlines processing in backquote expanding 2020-02-17 10:24:32 +01:00
hush-quoting ash: expand: Ensure result is escaped in cvtnum 2020-02-21 16:30:44 +01:00
hush-read
hush-redir hush: restore redirected stdin 2019-11-01 14:16:07 +01:00
hush-signals
hush-standalone
hush-vars ash: parser: Only accept single-digit parameter expansion outside of braces 2020-02-17 10:15:35 +01:00
hush-z_slow
.gitignore
run-all