diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2003-04-17 07:20:00 +0000 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2003-04-17 07:20:00 +0000 |
commit | c48484a7fee3cc66401a75e30bc82fa7c65971a0 (patch) | |
tree | ecd951d942836accbe373cabc3decbf29219f8f8 /lib | |
parent | 7472737d3993d3d39b183ee596dc2b180998f3c7 (diff) | |
download | FreeBSD-src-c48484a7fee3cc66401a75e30bc82fa7c65971a0.zip FreeBSD-src-c48484a7fee3cc66401a75e30bc82fa7c65971a0.tar.gz |
Buffer size is not enough in the previous commit. Use 128.
Pointed out by: nectar
MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libipsec/pfkey_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libipsec/pfkey_dump.c b/lib/libipsec/pfkey_dump.c index bbc0502..af3db0e 100644 --- a/lib/libipsec/pfkey_dump.c +++ b/lib/libipsec/pfkey_dump.c @@ -510,8 +510,8 @@ str_prefport(family, pref, port) u_int family, pref, port; { static char buf[128]; - char prefbuf[20]; - char portbuf[20]; + char prefbuf[128]; + char portbuf[128]; int plen; switch (family) { |