summaryrefslogtreecommitdiff
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-06-02 19:06:50 +0300
committerAlexei Starovoitov <ast@kernel.org>2018-06-02 21:22:36 +0300
commitb9308ae696b2c35e862636eec631d95ff958c33d (patch)
treee6ec045510d123dbb9f6e1502e4c5aa809e88f6e /kernel/stacktrace.c
parentb4b21a05b8fe7288087691e993c913a41fd6eb4b (diff)
downloadlinux-b9308ae696b2c35e862636eec631d95ff958c33d.tar.xz
bpf: btf: Check array t->size
This patch ensures array's t->size is 0. The array size is decided by its individual elem's size and the number of elements. Hence, t->size is not used and it must be 0. A test case is added to test_btf.c Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions