09/05/2017 10:46, Van Haaren, Harry:
> > From: Kozak, KubaX
> > Sent: Tuesday, May 9, 2017 6:22 AM
> > To: dev@dpdk.org
> > Cc: Van Haaren, Harry ; Jain, Deepak K
> > ;
> > Jastrzebski, MichalX K ; Kozak, KubaX
> >
> > Subject: [PATCH] ethdev: fix wrong sizeof argument in malloc function
> >
>
> From: Kozak, KubaX
> Sent: Tuesday, May 9, 2017 6:22 AM
> To: dev@dpdk.org
> Cc: Van Haaren, Harry ; Jain, Deepak K
> ;
> Jastrzebski, MichalX K ; Kozak, KubaX
>
> Subject: [PATCH] ethdev: fix wrong sizeof argument in malloc function
>
> From: Michal Jastrzebski
>
> Coverity reported that a
From: Michal Jastrzebski
Coverity reported that an argument for sizeof was used improperly.
We should allocate memory for value size that pointer points to,
instead of pointer size itself.
Coverity issue: 144522
Fixes: 79c913a42f0e ("ethdev: retrieve xstats by ID")
Signed-off-by: Michal Jastr
3 matches
Mail list logo