1 --- WordNet-3.0/lib/binsrch.c~ 2006-11-29 22:02:21.000000000 +0100
2 +++ WordNet-3.0/lib/binsrch.c 2014-06-03 12:12:58.435884045 +0200
5 if (fseek(fp, offset, 0) == -1)
6 return(NULL); /* could not seek to offset */
7 - fprintf(fp, new_line); /* write line */
8 + fprintf(fp, "%s", new_line); /* write line */
14 if (fseek(fp, offset, 0) == -1)
15 return(NULL); /* could not seek to offset */
16 - fprintf(fp, new_line); /* write line */
17 + fprintf(fp, "%s", new_line); /* write line */
21 --- WordNet-3.0/src/wn.c~ 2006-11-30 22:40:26.000000000 +0100
22 +++ WordNet-3.0/src/wn.c 2014-06-03 12:16:04.205515240 +0200
25 printf(searchstr[j].template,
26 partchars[dbase], partchars[dbase]);
27 - printf(searchstr[j].helpstr);
28 + printf("%s", searchstr[j].helpstr);
34 static int error_message(char *msg)
36 - fprintf(stderr, msg);
37 + fprintf(stderr, "%s", msg);