diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-26 19:45:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-26 19:45:08 +0300 |
commit | 9656a691e1c8c68f7832f33b3777217f8953ba11 (patch) | |
tree | 079fe84dd60f0eb2f7baa1125d624766ca26394b /src | |
parent | 7a4acb8bed366828a9ad27d40fc9f7ea9ea6ccfd (diff) | |
download | plugin-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')
-rw-r--r-- | src/emap/craftconf.c | 2 |
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; |