projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf0aa5
)
fix an uninitialized variable in awx (does not fix random segfault yet, still looking...
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 28 Mar 2007 23:19:39 +0000
(23:19 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 28 Mar 2007 23:19:39 +0000
(23:19 +0000)
SVN-Revision: 6750
package/busybox/patches/920-awx.patch
patch
|
blob
|
history
diff --git
a/package/busybox/patches/920-awx.patch
b/package/busybox/patches/920-awx.patch
index 1dd584e0dbaf444bcd2547a383770c4c988263ba..146bd269a28d5ac8f207b1311b3f5d53c9a77229 100644
(file)
--- 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,58
8
@@
+@@ -0,0 +1,58
9
@@
+/*
+ * 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 |