summaryrefslogtreecommitdiffstats
path: root/lib/libipsec/pfkey_dump.c
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-04-17 07:20:00 +0000
committersumikawa <sumikawa@FreeBSD.org>2003-04-17 07:20:00 +0000
commitc48484a7fee3cc66401a75e30bc82fa7c65971a0 (patch)
treeecd951d942836accbe373cabc3decbf29219f8f8 /lib/libipsec/pfkey_dump.c
parent7472737d3993d3d39b183ee596dc2b180998f3c7 (diff)
downloadFreeBSD-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/libipsec/pfkey_dump.c')
-rw-r--r--lib/libipsec/pfkey_dump.c4
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) {
OpenPOWER on IntegriCloud