From: Alberto Leiva Popper Date: Fri, 15 Mar 2019 00:28:18 +0000 (-0600) Subject: Patch infinite loop introduced in the last commit X-Git-Tag: v0.0.2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7b306dbbd2eb5f82dc06ae365310eaf0dbdfb4;p=thirdparty%2FFORT-validator.git Patch infinite loop introduced in the last commit --- diff --git a/src/resource/ip6.c b/src/resource/ip6.c index 20acce15..f73d84d2 100644 --- a/src/resource/ip6.c +++ b/src/resource/ip6.c @@ -36,7 +36,7 @@ static bool addr_is_successor(struct in6_addr const *a, struct in6_addr const *b) { struct in6_addr a_plus_1; - unsigned int i; + int i; memcpy(&a_plus_1, a, sizeof(a_plus_1)); for (i = 15; i >= 0; i--) {