*** ../bash-20180907/expr.c 2018-08-27 15:31:05.000000000 -0400 --- expr.c 2018-09-15 22:53:56.000000000 -0400 *************** *** 326,329 **** --- 326,332 ---- int aflags; + if (lhs == 0 || *lhs == 0) + return; /* XXX */ + #if defined (ARRAY_VARS) aflags = (assoc_expand_once && already_expanded) ? ASS_NOEXPAND : 0; *************** *** 1013,1017 **** else #endif ! expr_bind_variable (tokstr, vincdec); } free (vincdec); --- 1016,1021 ---- else #endif ! if (tokstr) ! expr_bind_variable (tokstr, vincdec); } free (vincdec);