Re: [folded-merged] ubsan-disable-unsigned-integer-overflow-sanitizer-with-clang-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux