Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix strcpy param overlap
Patch by: michaelortmann
  • Loading branch information
michaelortmann authored and vanosg committed Dec 10, 2018
1 parent e7bd934 commit 2759c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/seen.mod/seen.c
Expand Up @@ -571,7 +571,7 @@ static void wordshift(char *first, char *rest)
do {
p = newsplit(&q);
strcpy(first, p);
strcpy(rest, q);
memmove(rest, q, strlen(q) + 1);
} while (!egg_strcasecmp(first, "and") || !egg_strcasecmp(first, "or"));
}

Expand Down

0 comments on commit 2759c8a

Please sign in to comment.