diff options
author | Andrew Morton <[email protected]> | 2020-06-08 21:34:37 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-06-09 09:39:15 -0700 |
commit | 19c8d8ac63d39578483db0b82107c172d8edfb07 (patch) | |
tree | e26e0819136938ad4733986ad9908c062def2a61 /scripts/gdb/linux/lists.py | |
parent | aec6ce59133edc4ac04f7d4e2556fdf047becb62 (diff) |
bpf:bpf_seq_printf(): handle potentially unsafe format string better
User the proper helper for kernel or userspace addresses based on
TASK_SIZE instead of the dangerous strncpy_from_unsafe function.
Signed-off-by: Andrew Morton <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions