Buffer size is not enough in the previous commit. Use 128.
Pointed out by: nectar MFC after: 1 week
This commit is contained in:
parent
cde488d3a7
commit
296e054f23
@ -510,8 +510,8 @@ str_prefport(family, pref, port)
|
|||||||
u_int family, pref, port;
|
u_int family, pref, port;
|
||||||
{
|
{
|
||||||
static char buf[128];
|
static char buf[128];
|
||||||
char prefbuf[20];
|
char prefbuf[128];
|
||||||
char portbuf[20];
|
char portbuf[128];
|
||||||
int plen;
|
int plen;
|
||||||
|
|
||||||
switch (family) {
|
switch (family) {
|
||||||
|
Loading…
Reference in New Issue
Block a user