replace sprintf all over the place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -26,7 +26,7 @@ pop_dropcopy(POP *p, struct passwd *pwp)
|
||||
int nchar; /* Bytes written/read */
|
||||
|
||||
/* Create a temporary maildrop into which to copy the updated maildrop */
|
||||
sprintf(p->temp_drop,POP_DROP,p->user);
|
||||
snprintf(p->temp_drop, sizeof(p->temp_drop), POP_DROP,p->user);
|
||||
|
||||
#ifdef DEBUG
|
||||
if(p->debug)
|
||||
|
Reference in New Issue
Block a user