History

Merge tag 'trace-v5.16-5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull tracing fix from Steven Rostedt: "Update to tracing histogram variable string copy A fix to only copy the size of the field to the histogram string did not take into account that the size can be larger than the storage" * tag 'trace-v5.16-5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: tracing: Add length protection to histogram string copies

Linus Torvalds committed 5 years ago

Commit 8ab77452 parents 158ea2d 938aa332 files · +8 −3Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/trace_events.h+1−1
@@ -673,7 +673,7 @@ struct trace_event_file { · 672 unmodified lines
673 673
674#define PERF_MAX_TRACE_SIZE 8192674#define PERF_MAX_TRACE_SIZE 8192
675 675
676#define MAX_FILTER_STR_VAL 256 /* Should handle KSYM_SYMBOL_LEN */676#define MAX_FILTER_STR_VAL 256U /* Should handle KSYM_SYMBOL_LEN */
677 677
678enum event_trigger_type {678enum event_trigger_type {
679 ETT_NONE = (0),679 ETT_NONE = (0),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t