Print at most pkgsize - hdrsize bytes for pfkey tag and identity to
authortobhe <tobhe@openbsd.org>
Tue, 10 Oct 2023 16:16:16 +0000 (16:16 +0000)
committertobhe <tobhe@openbsd.org>
Tue, 10 Oct 2023 16:16:16 +0000 (16:16 +0000)
commitc4f11a127652779ac3804b8bfaeb83b0f4b24955
tree51b3604802cdfa2487a2d0c880640fb9ebfda39b
parent4f8d227ca362caaf47b25b8aa637dad1f995f487
Print at most pkgsize - hdrsize bytes for pfkey tag and identity to
prevent out-of-bounds read in strlen().

ok tb@
sbin/ipsecctl/pfkdump.c