Re: [dpdk-dev] [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 10:07 PM, Ferruh Yigit wrote: > On 10/27/2017 2:10 AM, Jasvinder Singh wrote: >> Malloc() function might returns NULL when memory allocation fails >> due to insufficient space. Therefore, check for handling memory allocation >> failure is added. >> >> Coverity issue: 198442,198444 >> F

Re: [dpdk-dev] [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI

2017-11-06 Thread Ferruh Yigit
On 10/27/2017 2:10 AM, Jasvinder Singh wrote: > Malloc() function might returns NULL when memory allocation fails > due to insufficient space. Therefore, check for handling memory allocation > failure is added. > > Coverity issue: 198442,198444 > Fixes: 996cb153af06 ("app/testpmd: add commands for

[dpdk-dev] [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI

2017-10-27 Thread Jasvinder Singh
Malloc() function might returns NULL when memory allocation fails due to insufficient space. Therefore, check for handling memory allocation failure is added. Coverity issue: 198442,198444 Fixes: 996cb153af06 ("app/testpmd: add commands for TM nodes and hierarchy commit") Signed-off-by: Jasvinde