summaryrefslogtreecommitdiff
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-15 00:13:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-15 00:13:38 +0000
commit51454e4cd00bae3aaf803bedd306611eb3d6704c (patch)
treec3982956452458b3adb8cba896294546dc15db17 /package/busybox/patches
parentda3d279a7b85e5ad11862a3ba4ab0522fbb29945 (diff)
downloadmtk-20170518-51454e4cd00bae3aaf803bedd306611eb3d6704c.zip
mtk-20170518-51454e4cd00bae3aaf803bedd306611eb3d6704c.tar.gz
mtk-20170518-51454e4cd00bae3aaf803bedd306611eb3d6704c.tar.bz2
awx: variable initialization fix
SVN-Revision: 7243
Diffstat (limited to 'package/busybox/patches')
-rw-r--r--package/busybox/patches/920-awx.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/busybox/patches/920-awx.patch b/package/busybox/patches/920-awx.patch
index 251db68..355c055 100644
--- a/package/busybox/patches/920-awx.patch
+++ b/package/busybox/patches/920-awx.patch
@@ -98,7 +98,7 @@ diff -purN bb.old/editors/awk.c bb.dev/editors/awk.c
diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
--- bb.old/editors/awx.c 1970-01-01 01:00:00.000000000 +0100
+++ bb.dev/editors/awx.c 2007-03-14 02:03:50.566202928 +0100
-@@ -0,0 +1,589 @@
+@@ -0,0 +1,590 @@
+/*
+ * awk web extension
+ *
@@ -323,6 +323,7 @@ diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
+ func *f;
+ var *v, tv;
+
++ zero_out_var(&tv);
+ memset(&tmp, 0, sizeof(tmp));
+ pos = p;
+ t.lineno = 1;