This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16059] wordexp(3) -- A[0]='a b' gives error
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 24 Oct 2013 13:30:39 +0000
- Subject: [Bug libc/16059] wordexp(3) -- A[0]='a b' gives error
- Auto-submitted: auto-generated
- References: <bug-16059-131 at http dot sourceware dot org/bugzilla/>
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.