From: Alan T. DeKok Date: Sat, 19 Oct 2019 18:30:45 +0000 (-0400) Subject: look at contents, not at pointer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39da09cd2ac22f62977195eca2092aeb804ff7f;p=thirdparty%2Ffreeradius-server.git look at contents, not at pointer --- diff --git a/src/lib/util/value.c b/src/lib/util/value.c index e514d424432..c781d23effd 100644 --- a/src/lib/util/value.c +++ b/src/lib/util/value.c @@ -1337,7 +1337,7 @@ static bool dns_label_match(uint8_t const *start, uint8_t const *a, uint8_t cons if (*a > 63) { uint16_t offset; - offset = start + a[1]; + offset = a[1]; offset += ((*a & ~0xc0) << 8); a = start + offset;