Skip to content
Commit 311fb40a authored by Kees Cook's avatar Kees Cook
Browse files

fortify: Use SIZE_MAX instead of (size_t)-1



Clean up uses of "(size_t)-1" in favor of SIZE_MAX.

Cc: linux-hardening@vger.kernel.org
Suggested-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 875bfd52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment