raw_line[BUFFER_SIZE - 1] = '\0';
fprintf(stderr, "selector: Line too long (max is %d characters):\n",
BUFFER_SIZE);
- fprintf(stderr, raw_line);
+ fprintf(stderr, "%s", raw_line);
fprintf(stderr, "\n");
exit(EXIT_FAILURE);
}
FILE *out = fopen(output_filename, "w");
if(out) {
if(t) {
- fprintf(out, t);
+ fprintf(out, "%s", t);
}
fprintf(out, "\n");
} else {