Re: [PATCH] tracing: Fix filter string testing
From: Andrew Morton
Date: Thu Apr 17 2025 - 19:29:37 EST
On Thu, 17 Apr 2025 18:30:03 -0400 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> From: Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> The filter string testing uses strncpy_from_kernel/user_nofault() to
> retrieve the string to test the filter against. The if() statement was
> incorrect as it considered 0 as a fault, when it is only negative that it
> faulted.
changelog forgot to describe the userspace-visible effects of the bug?
> Cc: stable@xxxxxxxxxxxxxxx
Which is more important when proposing this!