Re: [dpdk-dev] [PATCH] buildtools: add null point check for calloc

2017-11-07 Thread Thomas Monjalon
15/09/2017 13:33, Yong Wang: > In func locate_pmd_entries(), pointer 'new' returned from call to func > 'calloc' may be NULL. It is dereferenced without null point check. > > Signed-off-by: Yong Wang Applied, thanks

[dpdk-dev] [PATCH] buildtools: add null point check for calloc

2017-09-15 Thread Yong Wang
In func locate_pmd_entries(), pointer 'new' returned from call to func 'calloc' may be NULL. It is dereferenced without null point check. Signed-off-by: Yong Wang --- buildtools/pmdinfogen/pmdinfogen.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/buildtools/pmdinfoge