freebsd-dev/lib/libradius
Mark Johnston 6bb5699d2b 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
MFC after:	now
Sponsored by:	The FreeBSD Foundation
2021-05-28 12:58:29 -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
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
radlib.c libradius: Fix attribute length validation in rad_get_attr(3) 2021-05-28 12:58:29 -04:00
radlib.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00