7 Bug-Reported-by: oguzismailuysal@gmail.com
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2019-10/msg00098.html
13 In certain cases, bash does not perform quoted null removal on patterns
14 that are used as part of word expansions such as ${parameter##pattern}, so
15 empty patterns are treated as non-empty.
17 Patch (apply with `patch -p0'):
19 *** ../bash-5.0.17/subst.c 2020-04-02 17:14:58.000000000 -0400
20 --- subst.c 2020-07-09 15:28:19.000000000 -0400
24 (int *)NULL, (int *)NULL)
27 + word_list_remove_quoted_nulls (l);
28 pat = string_list (l);
31 *** ../bash-5.0/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
32 --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
35 looks for to find the patch level (for the sccs version string). */
37 ! #define PATCHLEVEL 17
39 #endif /* _PATCHLEVEL_H_ */
41 looks for to find the patch level (for the sccs version string). */
43 ! #define PATCHLEVEL 18
45 #endif /* _PATCHLEVEL_H_ */