check initseq->first in awx after running include()
[openwrt-10.03/.git] / package / busybox / patches / 920-awx.patch
index 146bd269a28d5ac8f207b1311b3f5d53c9a77229..251db6812616bdd0a1b3e4eadaa0960859f3a526 100644 (file)
@@ -355,7 +355,7 @@ diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
 +                      clear_array(ahash);
 +              }
 +      }
-+      if (initseq)
++      if (initseq && initseq->first)
 +              evaluate(initseq->first, &tv);
 +}
 +