Avoid possible truncation of path strings when writing config file.
This commit is contained in:
parent
4b3e1099e5
commit
2e4bf05e21
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000-2020 Stephen Williams (steve@icarus.com)
|
* Copyright (c) 2000-2021 Stephen Williams (steve@icarus.com)
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* This source code is free software; you can redistribute it
|
||||||
* and/or modify it in source code form under the terms of the GNU
|
* and/or modify it in source code form under the terms of the GNU
|
||||||
|
|
@ -184,7 +184,7 @@ int verbose_flag = 0;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
char line[MAXSIZE];
|
char line[MAXSIZE];
|
||||||
char tmp[MAXSIZE];
|
char tmp[MAXSIZE+24];
|
||||||
|
|
||||||
static char ivl_root[MAXSIZE];
|
static char ivl_root[MAXSIZE];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue