diff options
| author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-07-28 07:55:43 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-15 13:05:04 +0200 |
| commit | 7c165d58effc19fdf68196d4ceebf940d5da777d (patch) | |
| tree | 0d65326c1ef06c728d39fc5c6fac3c7e45a4c71f /kernel/bpf | |
| parent | 17b9e2da62d7400763262b164bab3efe31ef08e7 (diff) | |
tracing: Reject string operand in the histogram expression
commit a9d10ca4986571bffc19778742d508cc8dd13e02 upstream.
Since the string type can not be the target of the addition / subtraction
operation, it must be rejected. Without this fix, the string type silently
converted to digits.
Link: https://lkml.kernel.org/r/162742654278.290973.1523000673366456634.stgit@devnote2
Cc: stable@vger.kernel.org
Fixes: 100719dcef447 ("tracing: Add simple expression support to hist triggers")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions
