summaryrefslogtreecommitdiff
path: root/src/emap/craftconf.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-26 19:45:08 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-26 19:45:08 +0300
commit9656a691e1c8c68f7832f33b3777217f8953ba11 (patch)
tree079fe84dd60f0eb2f7baa1125d624766ca26394b /src/emap/craftconf.c
parent7a4acb8bed366828a9ad27d40fc9f7ea9ea6ccfd (diff)
downloadplugin-9656a691e1c8c68f7832f33b3777217f8953ba11.tar.gz
plugin-9656a691e1c8c68f7832f33b3777217f8953ba11.tar.bz2
plugin-9656a691e1c8c68f7832f33b3777217f8953ba11.tar.xz
plugin-9656a691e1c8c68f7832f33b3777217f8953ba11.zip
Increase temp buffer size in craftconf.c for avoid possible overflow.
Diffstat (limited to 'src/emap/craftconf.c')
-rw-r--r--src/emap/craftconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/craftconf.c b/src/emap/craftconf.c
index 7056d4f..33e341f 100644
--- a/src/emap/craftconf.c
+++ b/src/emap/craftconf.c
@@ -373,7 +373,7 @@ static bool craft_read_db_sub(struct config_setting_t *craftt,
static void load_craft_db(const char *filename)
{
struct config_t craft_db_conf;
- char filepath[256];
+ char filepath[300];
struct config_setting_t *cdb;
struct config_setting_t *t;
int i = 0;