Konstantin Ananyev 28b2d3d112 bpf: fix check array size
Array ins_chk in lib/librte_bpf/bpf_validate.c has 255 entries.
So the instruction with opcode == 255 will reading beyond array
boundaries.
For more details please refer to:
https://bugs.dpdk.org/show_bug.cgi?id=283

Fixes: 6e12ec4c4d6d ("bpf: add more checks")
Cc: stable@dpdk.org

Reported-by: Michel Machado <michel@digirati.com.br>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-06-27 23:17:10 +02:00
..
2019-06-05 16:28:20 +02:00
2018-05-12 00:36:34 +02:00
2019-06-27 23:17:10 +02:00
2018-07-12 00:00:35 +02:00
2018-05-12 00:36:34 +02:00
2019-06-05 16:28:20 +02:00