Commit f022814
committed
Merge tag 'trace-v5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull trace event string verifier fix from Steven Rostedt:
"The run-time string verifier checks all trace event formats as
they are read from the tracing file to make sure that the %s pointers
are not reading something that no longer exists.
However, it failed to account for the valid case of '%*.s' where the
length given is zero, and the string is NULL. It incorrectly flagged
it as a null pointer dereference and gave a WARN_ON()"
* tag 'trace-v5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Have trace event string test handle zero length strings1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3673 | 3673 | | |
3674 | 3674 | | |
3675 | 3675 | | |
3676 | | - | |
| 3676 | + | |
| 3677 | + | |
3677 | 3678 | | |
3678 | 3679 | | |
3679 | 3680 | | |
3680 | 3681 | | |
3681 | 3682 | | |
| 3683 | + | |
| 3684 | + | |
| 3685 | + | |
| 3686 | + | |
3682 | 3687 | | |
3683 | 3688 | | |
3684 | 3689 | | |
| |||
3864 | 3869 | | |
3865 | 3870 | | |
3866 | 3871 | | |
3867 | | - | |
| 3872 | + | |
3868 | 3873 | | |
3869 | 3874 | | |
3870 | 3875 | | |
| |||
0 commit comments