Re: [PATCH 64/82] netfilter: Refactor intentional wrap-around test

From: Florian Westphal
Date: Tue Jan 23 2024 - 13:03:39 EST


Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> In an effort to separate intentional arithmetic wrap-around from
> unexpected wrap-around, we need to refactor places that depend on this
> kind of math. One of the most common code patterns of this is:
>
> VAR + value < VAR

Acked-by: Florian Westphal <fw@xxxxxxxxx>