27/10/2017 17:08, Jastrzebski, MichalX K:
> >
> > Unsuccesfull memory allocation for elements inside cfgfile
> > structure could result in resource leak.
> > Fixed by pointer verification after each malloc,
> > if malloc fail - error branch is proceeded with freeing memory.
> >
> > Coverity issue
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jacek Piasecki
> Sent: Thursday, October 26, 2017 8:21 AM
> To: Dumitrescu, Cristian
> Cc: dev@dpdk.org; Piasecki, JacekX ;
> sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] cfgfi
Unsuccesfull memory allocation for elements inside cfgfile
structure could result in resource leak.
Fixed by pointer verification after each malloc,
if malloc fail - error branch is proceeded with freeing memory.
Coverity issue: 195032
Fixes: d4cb8197589d ("cfgfile: support runtime modification")
3 matches
Mail list logo