09/05/2017 10:44, Van Haaren, Harry:
> > 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: 144523, 144521
> > Fixes:
> From: Kozak, KubaX
> Sent: Tuesday, May 9, 2017 6:23 AM
> To: dev@dpdk.org
> Cc: Van Haaren, Harry ; Jain, Deepak K
> ;
> Jastrzebski, MichalX K ; Kozak, KubaX
>
> Subject: [PATCH] proc-info: wrong sizeof argument in malloc function
>
> From: Michal Jastrzebski
>
> Coverity reported that an
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: 144523, 144521
Fixes: 7ac16a3660c0 ("app/proc-info: support xstats by ID and by name")
S
3 matches
Mail list logo