EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1862917] Re: Possible memory leak in modules/database/src/std/link/lnkCalc.c
From: Karl Vestin via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Thu, 13 Feb 2020 11:00:15 -0000
** Changed in: epics-base
     Assignee: (unassigned) => Karl Vestin (karlvestin)

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1862917

Title:
  Possible memory leak in modules/database/src/std/link/lnkCalc.c

Status in EPICS Base:
  New

Bug description:
  Codacy reports an Error level issue on a possible memory leak in
  modules/database/src/std/link/lnkCalc.c line 201.

  If the malloc for postbuf successed but the malloc for inbuf then
  fails the memory for postbuf is never freed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1862917/+subscriptions

References:
[Bug 1862917] [NEW] Possible memory leak in modules/database/src/std/link/lnkCalc.c Karl Vestin via Core-talk

Navigate by Date:
Prev: [Bug 1862916] Re: Possible null pointer dereferencing in modules/ca/src/client/udpiiu.cpp Karl Vestin via Core-talk
Next: Two flavors of unused variable values Karl Vestin via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: [Bug 1862917] Re: Possible memory leak in modules/database/src/std/link/lnkCalc.c Karl Vestin via Core-talk
Next: [Bug 1862917] Re: Possible memory leak in modules/database/src/std/link/lnkCalc.c Karl Vestin via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024