[dpdk-dev] [PATCH] cfgfile: fix resource leak

Thomas Monjalon thomas at monjalon.net
Tue Nov 7 02:20:45 CET 2017


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: 195032
> > Fixes: d4cb8197589d ("cfgfile: support runtime modification")
> > Cc: jacekx.piasecki at intel.com
> > Cc: stable at dpdk.org

No need to Cc stable for bugs introduced in current release.

> > Signed-off-by: Jacek Piasecki <jacekx.piasecki at intel.com>
> 
> Acked-by: Michal Jastrzebski <michalx.k.jastrzebski at intel.com>

Applied, thanks



More information about the dev mailing list