~vcs-imports/busybox/trunk

Viewing all changes in revision 16458.

  • Committer: Denys Vlasenko
  • Date: 2020-02-16 18:22:32 UTC
  • Revision ID: git-v1:4ace38580927b3b402b6b35ab50893dbfd5f77c3
ash: expand: Fix skipping of command substitution when trimming in evalvar

Upstream commit:

    Date: Mon, 28 May 2018 17:09:48 +0800
    expand: Fix skipping of command substitution when trimming in evalvar

    When we are trimming an unset variable in evalvar, any embedded
    command substitution that should have been skipped are not.  This
    can cause them to be evaluated later should there be other command
    substitutions in the same input word.

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

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: