On Thu, 7 Jan 2021 13:09:29 -0800 Kees Cook <keescook@xxxxxxxxxxxx> wrote: > > --- a/lib/Kconfig.ubsan~ubsan-disable-unsigned-integer-overflow-sanitizer-with-clang-fix > > +++ a/lib/Kconfig.ubsan > > @@ -122,7 +122,7 @@ config UBSAN_SIGNED_OVERFLOW > > > > config UBSAN_UNSIGNED_OVERFLOW > > bool "Perform checking for unsigned arithmetic overflow" > > - # clang hugely expands stack usage with -fsanitize=object-size > > + # clang hugely expands stack usage with -fsanitize=unsigned-integer-overflow > > depends on !CC_IS_CLANG > > The above "!CC_IS_CLANG" needs to be dropped. I makes it impossible to use at > all (unsigned UBSAN overflow is only implemented for Clang). It isn't clear to me that this patch remains valid anyway - I'll drop it.