bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CTLESC and CTLNUL not dequoted in address@hidden


From: Grisha Levit
Subject: CTLESC and CTLNUL not dequoted in address@hidden
Date: Sat, 8 Apr 2017 23:26:39 -0400

$ x='\001\177'; printf %q address@hidden
$'\001\001\001\177'

Probably just needs:

--- a/subst.c
+++ b/subst.c
@@ -7253,7 +7253,7 @@ string_transform (xc, v, s)
        break;
       /* Transformations that modify the variable's value */
       case 'E':
-       ret = ansiexpand (s, 0, strlen (s), (int *)0);
+       ret = dequote_escapes(ansiexpand (s, 0, strlen (s), (int *)0));
        break;
       case 'P':
        ret = decode_prompt_string (s);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]