merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -46,7 +46,7 @@ pop_msg(POP *p, int stat, char *format, ...)
|
||||
pop_log(p,POP_PRIORITY,"%s",message);
|
||||
|
||||
/* Append the <CR><LF> */
|
||||
strncat(message, "\r\n", sizeof(message) - strlen(message));
|
||||
strcat_truncate(message, "\r\n", sizeof(message));
|
||||
|
||||
/* Send the message to the client */
|
||||
fputs(message, p->output);
|
||||
|
Reference in New Issue
Block a user