projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef48c52
)
io: fix invalid memory access in upload mode
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Dec 2014 13:26:01 +0000
(14:26 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Dec 2014 13:26:01 +0000
(14:26 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2/src/io/main.c
patch
|
blob
|
history
diff --git
a/luci2/src/io/main.c
b/luci2/src/io/main.c
index f9c07c3609ddc8e23e396e0b1a8624c4e260f479..68aaece5271a6e793bd9479412a8573bceb90afa 100644
(file)
--- a/
luci2/src/io/main.c
+++ b/
luci2/src/io/main.c
@@
-503,7
+503,7
@@
init_parser(void)
const char *var;
multipart_parser *p;
- multipart_parser_settings s = {
+
static
multipart_parser_settings s = {
.on_part_data = data_cb,
.on_headers_complete = data_begin_cb,
.on_part_data_end = data_end_cb,