Commit c42e6194 c42e619475166b5a6385d52fa0ed5f301d9db0b8 by Sergey Poznyakoff

Bugfix in imap4d.

* imap4d/util.c (util_getfullpath): Use mu_stpcpy.
1 parent eae05c42
......@@ -37,7 +37,7 @@ util_getfullpath (const char *name, const char *delim)
malloc (strlen (imap4d_homedir) + strlen (delim) + strlen (exp) + 1);
if (!s)
imap4d_bye (ERR_NO_MEM);
p = strcpy (s, imap4d_homedir);
p = mu_stpcpy (s, imap4d_homedir);
p = mu_stpcpy (p, (char*) delim);
strcpy (p, exp);
free (exp);
......