Martin KaFai Lau b9308ae696 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>
2018-06-02 11:22:36 -07:00
..
2018-06-02 11:22:36 -07:00
2018-05-28 17:41:02 +02:00
2017-01-09 16:56:27 -05:00
2018-04-30 10:55:56 +02:00
2017-11-15 19:46:32 +09:00
2018-05-18 16:07:02 +02:00