On 06/22/2016 01:37 PM, Laine Stump wrote:
lxcContainerRenameAndEnableInterfaces() isn't making a copy of
the
interface's ifname_guest (into newname), it's just copying the pointer
to it. This means that when it later calls VIR_FREE(newname), it's
actually freeing up (and fortunately NULLing out, so at least we don't
try to access free'd memory) netDef->ifname_guest.
---
src/lxc/lxc_container.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
ACK
John