Blame bash-5.2-patch-1.patch
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
diff --git a/patchlevel.h b/patchlevel.h
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
--- a/patchlevel.h
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
+++ b/patchlevel.h
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
@@ -25,6 +25,6 @@
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
looks for to find the patch level (for the sccs version string). */
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
-#define PATCHLEVEL 0
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
+#define PATCHLEVEL 1
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
#endif /* _PATCHLEVEL_H_ */
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
diff --git a/subst.c b/subst.c
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
index d9feabca..93b91606 100644
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
--- a/subst.c
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
+++ b/subst.c
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
@@ -10857,7 +10857,7 @@ expand_array_subscript (string, sindex, quoted, flags)
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
exp = substring (string, si+1, ni);
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
t = expand_subscript_string (exp, quoted & ~(Q_ARITH|Q_DOUBLE_QUOTES));
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
free (exp);
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
- exp = sh_backslash_quote (t, abstab, 0);
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
+ exp = t ? sh_backslash_quote (t, abstab, 0) : savestring ("");
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
free (t);
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
|
|
![](https://seccdn.libravatar.org/avatar/186c360ce12880edb24f229f9f386ae1b1b09d5dd5446932c3a2c03e108469e6?s=16&d=retro) |
e26a2b6 |
slen = STRLEN (exp);
|