dpdk-fm10k/app
Yunjian Wang ffcf831454 kvargs: fix buffer overflow when parsing list
When the input string is "key=[", the ending '\0' is replaced
by a ',', leading to a heap buffer overflow.

Check the content of ctx1 to avoid this problem.

Fixes: cc0579f233 ("kvargs: support list value")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2020-03-27 17:03:46 +01:00
..
pdump app/pdump: fix build with clang 2020-02-06 09:20:56 +01:00
proc-info app/procinfo: use strlcpy for copying string 2019-10-27 11:33:24 +01:00
test kvargs: fix buffer overflow when parsing list 2020-03-27 17:03:46 +01:00
test-acl net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test-bbdev app/bbdev: enable fpga_lte_fec support in shared builds 2019-10-09 11:50:12 +02:00
test-cmdline app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00
test-compress-perf test/compress: add cycle-count mode to perf tool 2020-02-05 15:20:51 +01:00
test-crypto-perf app/crypto-perf: use common macros for min/max 2020-02-20 11:16:46 +01:00
test-eventdev app/eventdev: fix pipeline test with meson build 2020-02-15 08:50:35 +01:00
test-fib app/test-fib: add test application for FIB 2020-02-16 19:31:09 +01:00
test-pipeline app/pipeline: fix build with gcc 10 2020-03-04 10:19:02 +01:00
test-pmd ethdev: add PFCP header to flow API 2020-03-18 10:21:42 +01:00
test-sad app/test-sad: add sanity checks 2019-11-08 13:51:16 +01:00
Makefile app/test-sad: add test application for IPsec SAD 2019-10-23 16:57:06 +02:00
meson.build app/test-sad: add test application for IPsec SAD 2019-10-23 16:57:06 +02:00