opnsense-src/lib/libradius
Mark Johnston f997253234 libradius: Fix attribute length validation in rad_get_attr(3)
The length of the attribute header needs to be excluded when comparing
the attribute length against the length of the packet.  Otherwise,
validation may incorrectly fail when fetching the final attribute in a
message.

Fixes:		8d5c78130 ("libradius: Fix input validation bugs")
Reported by:	Peter Eriksson
Tested by:	Peter Eriksson
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 6bb5699d2b)
2021-05-28 13:00:19 -04:00
..
libradius.3 Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
Makefile pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
radius.conf.5 mdoc sweep. 2013-05-12 22:22:12 +00:00
radlib.c libradius: Fix attribute length validation in rad_get_attr(3) 2021-05-28 13:00:19 -04:00
radlib.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
radlib_private.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
radlib_vs.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00