summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2018-12-06 07:40:48 +0300
committerAlexei Starovoitov <ast@kernel.org>2018-12-08 00:38:29 +0300
commitec3d837aac5dca7cb8a69c9f101690c182da79c4 (patch)
treeb4943b459ce0aa731a75f27543b536fc8ba070bd /tools/perf/scripts/python/export-to-sqlite.py
parent13e56ec2cc9860aa22e01ffc7a3160f35a96b728 (diff)
downloadlinux-ec3d837aac5dca7cb8a69c9f101690c182da79c4.tar.xz
net/flow_dissector: correctly cap nhoff and thoff in case of BPF
We want to make sure that the following condition holds: 0 <= nhoff <= thoff <= skb->len BPF program can set out-of-bounds nhoff and thoff, which is dangerous, see recent commit d0c081b49137 ("flow_dissector: properly cap thoff field")'. Signed-off-by: Stanislav Fomichev <sdf@google.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions