Skip to content
Snippets Groups Projects
Commit 6e11c699 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Use SAFECOPY() for no reason.

Since old is a strdup() of list->comment, it's known that it will
fit, but Coverity doesn't know that.
parent 78e67f2c
No related branches found
No related tags found
No related merge requests found
......@@ -2520,7 +2520,7 @@ edit_comment(struct bbslist *list, char *listpath)
&ch);
switch (ch) {
case '\x1b':
strcpy(list->comment, old);
SAFECOPY(list->comment, old);
ret = true;
goto done;
case '\t':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment