Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 899325 Details for
Bug 1012015
Bash performs brace expansion on commands with double-quoted strings within a double-quoted command-substitution
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Nested Dquote brace-expansions patch
bash-4.1-brace-expansion.patch (text/plain), 734 bytes, created by
Ondrej Oprala
on 2014-05-26 15:31:11 UTC
(
hide
)
Description:
Nested Dquote brace-expansions patch
Filename:
MIME Type:
Creator:
Ondrej Oprala
Created:
2014-05-26 15:31:11 UTC
Size:
734 bytes
patch
obsolete
>diff --git a/braces.c b/braces.c >index 2febed7..61c1ab1 100644 >--- a/braces.c >+++ b/braces.c >@@ -529,6 +529,11 @@ brace_gobbler (text, tlen, indx, satisfy) > { > if (c == quoted) > quoted = 0; >+#if defined (SHELL) >+ /* The shell allows quoted command substitutions */ >+ if (quoted == '"' && c == '$' && text[i+1] == '(') /*)*/ >+ goto comsub; >+#endif > ADVANCE_CHAR (text, tlen, i); > continue; > } >@@ -551,6 +556,7 @@ brace_gobbler (text, tlen, indx, satisfy) > /* Pass new-style command and process substitutions through unchanged. */ > if ((c == '$' || c == '<' || c == '>') && text[i+1] == '(') /* ) */ > { >+comsub: > si = i + 2; > t = extract_command_subst (text, &si, 0); > i = si;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1012015
: 899325