Re: [PATCH] Provider/rxe: Allocate rxe/ib objs by calloc

From: Leon Romanovsky
Date: Wed Oct 06 2021 - 04:13:45 EST


On Thu, Sep 30, 2021 at 08:35:27PM +0900, Shunsuke Mie wrote:
> Some rxe/ib objects are allocated by malloc() and initialize manually
> respectively. To prevent a bug caused by memory uninitialization, this
> patch change to use calloc().
>
> Signed-off-by: Shunsuke Mie <mie@xxxxxxxxxx>
> ---
> providers/rxe/rxe.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>

Thanks, applied.