Re: [dpdk-dev] [PATCH] eal: fix possible segfault in hotplug add

2017-08-03 Thread Thomas Monjalon
03/08/2017 14:34, Gaetan Rivet: > If devargs is NULL, building the full_dev_name will segfault > when using strlen on it. > > Coverity issue: 158630 > Fixes: 7e8b26650146 ("eal: fix hotplug add / remove") > > Signed-off-by: Gaetan Rivet Applied, thanks

[dpdk-dev] [PATCH] eal: fix possible segfault in hotplug add

2017-08-03 Thread Gaetan Rivet
If devargs is NULL, building the full_dev_name will segfault when using strlen on it. Coverity issue: 158630 Fixes: 7e8b26650146 ("eal: fix hotplug add / remove") Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/eal_common_dev.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-)