There are a few only-key situation which use rte_kvargs_process to process, If
we make
this change, the above case will fail.
Actually I locally make similar change plus a new API (rte_kvargs_process_opt),
this
new API will cover key/value and only-key match, while rte_kvargs_process make
restr
There is class of problems in current DPDK where rte_kvargs
is used a key/value pair is passed without an associated value.
Currently, this can cause a NULL dereference in the rte_kvargs_process
handler.
Reported-by: Chengwen Feng
Signed-off-by: Stephen Hemminger
---
lib/kvargs/rte_kvargs.c | 3
2 matches
Mail list logo