1.
[configuration.c:168]: (error) Dangerous usage of 'line' (strncpy doesn't always null-terminate it).
strncpy(line,".\",1023); / FIXME: hack /
strncpy(line,getenv("HOME"),1023);
strncat(line,CONFIG_FILE,(1023-strlen(line)));
Maybe something like
strncpy(line,".\",1023); / FIXME: hack /
strncpy(line,getenv("HOME"),1023);
line[1023] = '\0';
strncat(line,CONFIG_FILE,(1023-strlen(line)));
2.
[configuration.c:328]: (error) Dangerous usage of 'file' (strncpy doesn't always null-terminate it).
Duplicate.