diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-12-19 14:26:01 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-12-19 14:26:01 +0100 |
commit | 6594e53c252c64243c039891c2c0d8afdd25f782 (patch) | |
tree | 80212427e913449b76fa973441bc5245dcc57bb9 | |
parent | ef48c52384587df3668c72cc4c66ab772cdf32e3 (diff) | |
download | luci2-ui-6594e53c252c64243c039891c2c0d8afdd25f782.tar.gz |
io: fix invalid memory access in upload mode
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r-- | luci2/src/io/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luci2/src/io/main.c b/luci2/src/io/main.c index f9c07c3..68aaece 100644 --- 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, |