metal/mtce/centos
Eric MacDonald fb89f62a9e Fix hbsAgent mgmnt interface name corruption
The hbsAgent socket initialization process is declaring
a local string variable and then loading the management
interface name into it and setting its static management
interface config pointer to that variable.

So, when that local variable falls out of scope and that
local (stack) variable memory is recycled and changed by
its new owner then the data the management interface config
pointer points to changes and that leads to the reported
error condition and log flooding.

This update allocates a new memory pointer instead.

Change-Id: I858bcc69455f1d915f2873c47a75dd1139cf8fcb
Closes-Bug: 1829608
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2019-05-22 08:45:14 -04:00
..
build_srpm.data Fix hbsAgent mgmnt interface name corruption 2019-05-22 08:45:14 -04:00
mtce.spec Merge "Refactor infrastructure network in mtce code" 2019-04-23 21:12:41 +00:00