about summary refs log tree commit diff
path: root/src/misc/getsubopt.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-02-11 01:37:01 -0500
committerRich Felker <dalias@aerifal.cx>2015-02-11 01:37:01 -0500
commit594ffed82f4e6ee7da85e9c5da35e32946ae32c9 (patch)
treeb8063074ad951fe03975e8fa3c4f3bf6bb59025b /src/misc/getsubopt.c
parent700e08993c3f6a808773d56424aa7e633da13e2e (diff)
downloadmusl-594ffed82f4e6ee7da85e9c5da35e32946ae32c9.tar.gz
musl-594ffed82f4e6ee7da85e9c5da35e32946ae32c9.tar.xz
musl-594ffed82f4e6ee7da85e9c5da35e32946ae32c9.zip
fix bad character checking in wordexp
the character sequence '$((' was incorrectly interpreted as the
opening of arithmetic even within single-quoted contexts, thereby
suppressing the checks for bad characters after the closing quote.

presently bad character checking is only performed when the WRDE_NOCMD
is used; this patch only corrects checking in that case.
Diffstat (limited to 'src/misc/getsubopt.c')
0 files changed, 0 insertions, 0 deletions