diff options
Diffstat (limited to 'mail/zmailer/files/patch-smtpserver::smtpcmds.c')
-rw-r--r-- | mail/zmailer/files/patch-smtpserver::smtpcmds.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mail/zmailer/files/patch-smtpserver::smtpcmds.c b/mail/zmailer/files/patch-smtpserver::smtpcmds.c deleted file mode 100644 index f64ad2a5368..00000000000 --- a/mail/zmailer/files/patch-smtpserver::smtpcmds.c +++ /dev/null @@ -1,11 +0,0 @@ ---- smtpserver/smtpcmds.c Mon Aug 19 19:19:54 2002 -+++ smtpserver/smtpcmds.c.orig Mon Aug 19 19:16:28 2002 -@@ -223,7 +223,7 @@ - if (STYLE(SS->cfinfo, 'h')) { - char argbuf[MAXHOSTNAMELEN+30]; - char *s; -- sprintf(argbuf,"%s %s", SS->rhostname, -+ snprintf(argbuf, sizeof(argbuf), "%s %s", SS->rhostname, - ((SS->ihostaddr && (SS->ihostaddr[0] != '\0')) - ? SS->ihostaddr : "[0.0.0.0]")); - if ((s = router(SS, RKEY_HELLO, 1, argbuf, strlen(argbuf))) == NULL) |