7 Bug-Reported-by: Matt Whitlock
9 Bug-Reference-URL: https://savannah.gnu.org/support/?109671
13 The conditional command did not perform appropriate quoted null character
14 removal on its arguments, causing syntax errors and attempts to stat
17 Patch (apply with `patch -p0'):
19 *** ../bash-5.0-patched/subst.c 2018-12-22 17:43:37.000000000 -0500
20 --- subst.c 2019-04-14 13:25:41.000000000 -0400
23 SPECIAL is 2, this is an rhs argument for the =~ operator, and should
24 be quoted appropriately for regcomp/regexec. The caller is responsible
25 ! for removing the backslashes if the unquoted word is needed later. */
27 cond_expand_word (w, special)
29 SPECIAL is 2, this is an rhs argument for the =~ operator, and should
30 be quoted appropriately for regcomp/regexec. The caller is responsible
31 ! for removing the backslashes if the unquoted word is needed later. In
32 ! any case, since we don't perform word splitting, we need to do quoted
33 ! null character removal. */
35 cond_expand_word (w, special)
39 if (special == 0) /* LHS */
42 + word_list_remove_quoted_nulls (l);
45 *** ../bash-5.0/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
46 --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
49 looks for to find the patch level (for the sccs version string). */
51 ! #define PATCHLEVEL 10
53 #endif /* _PATCHLEVEL_H_ */
55 looks for to find the patch level (for the sccs version string). */
57 ! #define PATCHLEVEL 11
59 #endif /* _PATCHLEVEL_H_ */