Repository navigation
Commit b2aca8d
tracing: Reject string operand in the histogram expression
commit a9d10ca 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: 100719d ("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>1 parent b10ccc2 commit b2aca8d
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
2140 | 2141 | | |
2141 | 2142 | | |
2142 | 2143 | | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
2143 | 2151 | | |
2144 | 2152 | | |
2145 | 2153 | | |
| |||
2241 | 2249 | | |
2242 | 2250 | | |
2243 | 2251 | | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
2244 | 2257 | | |
2245 | 2258 | | |
2246 | 2259 | | |
| |||
2250 | 2263 | | |
2251 | 2264 | | |
2252 | 2265 | | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
2253 | 2271 | | |
2254 | 2272 | | |
2255 | 2273 | | |
| |||
0 commit comments