Re: [dpdk-dev] [PATCH] malloc: fix potential null pointer dereference

2018-09-16 Thread Thomas Monjalon
15/08/2018 10:56, Burakov, Anatoly: > On 15-Aug-18 8:20 AM, Tiwei Bie wrote: > > We need to do the NULL pointer check first after malloc(). > > > > Fixes: 07dcbfe0101f ("malloc: support multiprocess memory hotplug") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Tiwei Bie > > Acked-by: Anatoly

Re: [dpdk-dev] [PATCH] malloc: fix potential null pointer dereference

2018-08-15 Thread Burakov, Anatoly
On 15-Aug-18 8:20 AM, Tiwei Bie wrote: We need to do the NULL pointer check first after malloc(). Fixes: 07dcbfe0101f ("malloc: support multiprocess memory hotplug") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie --- Acked-by: Anatoly Burakov -- Thanks, Anatoly

[dpdk-dev] [PATCH] malloc: fix potential null pointer dereference

2018-08-15 Thread Tiwei Bie
We need to do the NULL pointer check first after malloc(). Fixes: 07dcbfe0101f ("malloc: support multiprocess memory hotplug") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie --- lib/librte_eal/common/malloc_heap.c | 4 +--- lib/librte_eal/common/malloc_mp.c | 4 +--- 2 files changed, 2 insertio