aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-28 23:19:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-28 23:19:39 +0000
commite5001d681301af0adedd006247381b3e7ecf37aa (patch)
tree96cc616d42ef6750d569e10447a1a8450d45cfc2 /package/busybox/patches
parente2c67bf4b7f12c1c6e394a768daa233c45a2a5c1 (diff)
downloadmaster-187ad058-e5001d681301af0adedd006247381b3e7ecf37aa.tar.gz
master-187ad058-e5001d681301af0adedd006247381b3e7ecf37aa.tar.bz2
master-187ad058-e5001d681301af0adedd006247381b3e7ecf37aa.zip
fix an uninitialized variable in awx (does not fix random segfault yet, still looking into it)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6750 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 1dd584e0db..146bd269a2 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,588 @@
+@@ -0,0 +1,589 @@
+/*
+ * awk web extension
+ *
@@ -323,6 +323,7 @@ diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
+ func *f;
+ var *v, tv;
+
++ memset(&tmp, 0, sizeof(tmp));
+ pos = p;
+ t.lineno = 1;
+ while ((tclass = next_token(TC_EOF | TC_OPSEQ |