forked from enlightenment/efl
efreetd - warn - expand buffer to avoid truncation by snprintf
This commit is contained in:
parent
721b72ce87
commit
02105219a8
|
@ -30,7 +30,7 @@ quit(void)
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
char path[PATH_MAX], buf[PATH_MAX];
|
char path[PATH_MAX + 128], buf[PATH_MAX];
|
||||||
FILE *log;
|
FILE *log;
|
||||||
int fd;
|
int fd;
|
||||||
const char *log_file_dir = NULL;
|
const char *log_file_dir = NULL;
|
||||||
|
|
Loading…
Reference in New Issue