Commit 3fdacf4
committed
Merge tag 'trace-v5.14-5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull tracing fix from Steven Rostedt:
"Fix the histogram logic from possibly crashing the kernel
Working on the histogram code, I found that if you dereference a char
pointer in a trace event that happens to point to user space, it can
crash the kernel, as it does no checks of that pointer. I have code
coming that will do this better, so just remove this ability to treat
character pointers in trace events as stings in the histogram"
* tag 'trace-v5.14-5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Do not reference char * as a string in histograms1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1689 | 1689 | | |
1690 | 1690 | | |
1691 | 1691 | | |
1692 | | - | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
1693 | 1695 | | |
1694 | 1696 | | |
1695 | 1697 | | |
| |||
4495 | 4497 | | |
4496 | 4498 | | |
4497 | 4499 | | |
4498 | | - | |
4499 | | - | |
4500 | 4500 | | |
4501 | 4501 | | |
4502 | 4502 | | |
| |||
0 commit comments