Hi Kees, Thanks for reviewing the patch, On mar, ago 01 2023 at 17:26:44, Kees Cook <keescook@xxxxxxxxxxxx> wrote: > I *think* instead, we can turn off TRAP but retain the ARRAY_BOUNDS > kselftest by looking for either WARN or TRAP results: > > -ARRAY_BOUNDS > +ARRAY_BOUNDS call trace:|UBSAN: array-index-out-of-bounds > > Can test that and send a v2? Good idea! Sure, I can test it and I'll send v2 in a while. Cheers, Ricardo