From: Alan T. DeKok Date: Tue, 19 Apr 2022 18:07:59 +0000 (-0400) Subject: increase bounds X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf791c3f6eefc0b145a3b3e5a66310d8aa92f485;p=thirdparty%2Ffreeradius-server.git increase bounds --- diff --git a/src/protocols/radius/decode.c b/src/protocols/radius/decode.c index d995cd53b8f..62bf99aa938 100644 --- a/src/protocols/radius/decode.c +++ b/src/protocols/radius/decode.c @@ -1805,7 +1805,7 @@ ssize_t fr_radius_decode_pair_value(TALLOC_CTX *ctx, fr_pair_list_t *out, * check on a buffer, that's less work than a series of if / then * / else conditions. */ -static const bool special[UINT8_MAX] = { +static const bool special[UINT8_MAX + 1] = { [FR_NAS_FILTER_RULE] = true, /* magic rules */ [FR_DIGEST_ATTRIBUTES] = true, /* magic rules */