diff options
Diffstat (limited to 'src/mail.c')
-rw-r--r-- | src/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail.c b/src/mail.c index fccad34fe..c81d7776a 100644 --- a/src/mail.c +++ b/src/mail.c @@ -242,7 +242,7 @@ int MailValidate(const char *email) if (!email) return 0; - strcpy(copy, email); + strscpy(copy, email, sizeof(copy)); domain = strchr(copy, '@'); if (!domain) |