summaryrefslogtreecommitdiffstats
path: root/SOURCES/bash-3.0-evalexp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/bash-3.0-evalexp.patch')
-rw-r--r--SOURCES/bash-3.0-evalexp.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/SOURCES/bash-3.0-evalexp.patch b/SOURCES/bash-3.0-evalexp.patch
new file mode 100644
index 0000000..797f121
--- /dev/null
+++ b/SOURCES/bash-3.0-evalexp.patch
@@ -0,0 +1,15 @@
+Index: expr.c
+===================================================================
+--- expr.c.orig
++++ expr.c
+@@ -410,8 +410,8 @@ expassign ()
+ value = expcond ();
+ if (curtok == EQ || curtok == OP_ASSIGN)
+ {
+- int special, op;
+- intmax_t lvalue;
++ int special, op = -1;
++ intmax_t lvalue = 0;
+
+ special = curtok == OP_ASSIGN;
+