Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y
From: Qian Cai
Date: Tue Oct 08 2019 - 05:47:34 EST
> On Oct 8, 2019, at 2:16 AM, Walter Wu <walter-zh.wu@xxxxxxxxxxxx> wrote:
>
> It is an undefined behavior to pass a negative numbers to
> memset()/memcpy()/memmove(), so need to be detected by KASAN.
Why canât this be detected by UBSAN?