From: Alan T. DeKok Date: Wed, 13 Nov 2024 21:03:26 +0000 (-0500) Subject: all for all data types X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aba4fa97b487b78c362e3a987cb5a50a19b8e4cd;p=thirdparty%2Ffreeradius-server.git all for all data types --- diff --git a/src/lib/util/cbor.c b/src/lib/util/cbor.c index 0db50a0f964..36cb66803ee 100644 --- a/src/lib/util/cbor.c +++ b/src/lib/util/cbor.c @@ -50,7 +50,7 @@ static const char *cbor_type_to_str[8] = { * number, which includes our data type. If the tag type doesn't match the value here, then something is * wrong. */ -static const uint64_t cbor_type_to_tag[FR_TYPE_MAX] = { +static const uint64_t cbor_type_to_tag[FR_TYPE_MAX + 1] = { [FR_TYPE_DATE] = 1, [FR_TYPE_ETHERNET] = 48, [FR_TYPE_IPV4_ADDR] = 52,