summary refs log tree commit diff
path: root/src/main.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-02-25 14:00:31 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-03-28 21:18:03 +0800
commit86a841bb444ed1d9a09afb38cb818a21c04e1beb (patch)
tree57d6bf19d3b056aadd20bc427a682b21ad826266 /src/main.h
parentoptions: Do not set commandname in procargs (diff)
downloaddash-86a841bb444ed1d9a09afb38cb818a21c04e1beb.tar.gz
dash-86a841bb444ed1d9a09afb38cb818a21c04e1beb.zip
expand: Fix double-decrement in argstr
Due to a double decrement in argstr we may miss field separators
at the end of a word in certain situations.

Reported-by: Martijn Dekker <martijn@inlv.org>
Fixes: 3cd538634f71 ("expand: Do not reprocess data when...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/main.h')
0 files changed, 0 insertions, 0 deletions