From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18611 invoked by alias); 24 Oct 2013 13:30:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 18568 invoked by uid 48); 24 Oct 2013 13:30:40 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/16059] wordexp(3) -- A[0]='a b' gives error Date: Thu, 24 Oct 2013 13:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg00306.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=16059 --- Comment #4 from Andreas Schwab --- 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.