]>
Commit | Line | Data |
---|---|---|
6d2e2098 | 1 | diff -Nru lynx2-8-3.orig/src/LYMail.c lynx2-8-3/src/LYMail.c |
2 | --- lynx2-8-3.orig/src/LYMail.c Fri May 5 00:43:18 2000 | |
3 | +++ lynx2-8-3/src/LYMail.c Fri May 5 00:45:15 2000 | |
4 | @@ -392,7 +392,7 @@ | |
69a2d9a7 AF |
5 | * entry, if permitted. - FM |
6 | */ | |
7 | if (!LYNoCc) { | |
8 | - sprintf(self, "%.79s", (personal_mail_address ? | |
9 | + snprintf(self, 80, "%.79s", (personal_mail_address ? | |
10 | personal_mail_address : "")); | |
11 | self[79] = '\0'; | |
12 | _statusline("Cc: "); | |
6d2e2098 | 13 | @@ -1557,7 +1557,7 @@ |
69a2d9a7 | 14 | addstr(CTRL_U_TO_ERASE); |
201daeb8 | 15 | addstr(SUBJECT_PROMPT); |
69a2d9a7 AF |
16 | /* Add the default subject. */ |
17 | - sprintf(user_input, "%.70s%.63s", | |
18 | + snprintf(user_input, sizeof(user_input), "%.70s%.63s", | |
19 | (subject[0] != '\0') ? | |
20 | subject : | |
21 | ((filename && *filename) ? |