aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEdward Cree <[email protected]>2018-11-16 12:00:07 +0000
committerAlexei Starovoitov <[email protected]>2018-11-16 21:10:00 -0800
commitafd594240806acc138cf696c09f2f4829d55d02f (patch)
tree88202cf526afbabd2388e3eec49ade42e36c8457 /tools/perf/scripts/python/export-to-postgresql.py
parentda85d8bfd1512461bcfb64929e8426cf340b3707 (diff)
bpf: fix off-by-one error in adjust_subprog_starts
When patching in a new sequence for the first insn of a subprog, the start of that subprog does not change (it's the first insn of the sequence), so adjust_subprog_starts should check start <= off (rather than < off). Also added a test to test_verifier.c (it's essentially the syz reproducer). Fixes: cc8b0b92a169 ("bpf: introduce function calls (function boundaries)") Reported-by: [email protected] Signed-off-by: Edward Cree <[email protected]> Acked-by: Yonghong Song <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions