Re: [PATCH 1/2] ubsan: allow to disable the null sanitizer

2016-09-12 Thread Heiko Carstens
On Mon, Sep 12, 2016 at 02:37:19PM +0200, Christian Borntraeger wrote: > Some architectures use a hardware defined struct at address zero. > Checking for a null pointer will result in many ubsan reports. > Let users disable the null sanitizer. > > Signed-off-by: Christian Borntraeger > --- > lib

[PATCH 1/2] ubsan: allow to disable the null sanitizer

2016-09-12 Thread Christian Borntraeger
Some architectures use a hardware defined struct at address zero. Checking for a null pointer will result in many ubsan reports. Let users disable the null sanitizer. Signed-off-by: Christian Borntraeger --- lib/Kconfig.ubsan | 11 +++ scripts/Makefile.ubsan | 5 - 2 files chan