Though this block of code is not used by FreeBSD, correct a call to
sprintf() with a macro call to SNPRINTF similar to other calls to SNPRINTF within this same block. MFC after: 1 week
This commit is contained in:
parent
00a6946205
commit
297cff2ef7
@ -2136,7 +2136,7 @@ ipf_p_ftp_eprt6(softf, fin, ip, nat, ftp, dlen)
|
||||
SNPRINTF(s, left, "%x:%x", a >> 16, a & 0xffff);
|
||||
left -= strlen(s);
|
||||
s += strlen(s);
|
||||
sprintf(s, "|%d|\r\n", port);
|
||||
SNPRINTF(s, left, "|%d|\r\n", port);
|
||||
#else
|
||||
(void) sprintf(s, "EPRT %c2%c", delim, delim);
|
||||
s += strlen(s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user