Check if the avp->length is not broken. Also make sure that
authoryasuoka <yasuoka@openbsd.org>
Mon, 11 Sep 2023 07:33:07 +0000 (07:33 +0000)
committeryasuoka <yasuoka@openbsd.org>
Mon, 11 Sep 2023 07:33:07 +0000 (07:33 +0000)
commitabf3a29384c582c807a621e7fc6e7c68d0cafe9b
tree1d224deededd0893e4874b0154d8b727bb5dc447
parentafda2c0320d498fdab6d54743c6adaa7208e5ff6
Check if the avp->length is not broken.   Also make sure that
avp_enum() checks if avp->length is valid.

ok mvp
usr.sbin/npppd/l2tp/l2tp_subr.c