]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
allow "length=uint8" for structs
authorAlan T. DeKok <aland@freeradius.org>
Mon, 21 Mar 2022 15:26:30 +0000 (11:26 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 21 Mar 2022 15:44:12 +0000 (11:44 -0400)
commitde529606e50a7f23fec791742a22baee0e075dab
treed6e16ce32f59812493c6749bcd6140a4d9b86d19
parent8f2e9061f199960cdd0362d8a4fe5b846104c195
allow "length=uint8" for structs

and update encode / decode of struct

and ensure that the encoders don't add too many lengths
src/lib/util/dict_validate.c
src/lib/util/struct.c
src/protocols/dhcpv4/encode.c
src/protocols/dhcpv6/encode.c