[Bug libc/16059] wordexp(3) -- A[0]='a b' gives error

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Thu Oct 24 13:30:00 GMT 2013


http://sourceware.org/bugzilla/show_bug.cgi?id=16059

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
There are a lot of problems with quoting in wordexp parsing.

- quoted glob meta characters need to be requoted for glob, but the result must
undergo quote removal if no file was matched
- unterminated quoting needs to be diagnosed
- the check to distinguish $((foo)) from $((foo);(bar)) doesn't handle quoted
parens
- parse_comm doesn't handle backslash quoting

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list