[lxc-devel] [lxc/lxc] ffe344: Set the right variable to NULL when unsetting ipv6...

GitHub noreply at github.com
Tue Jan 12 02:26:49 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ffe344373e5d2b9f2be517f138bf42f9c7d0ca20
      https://github.com/lxc/lxc/commit/ffe344373e5d2b9f2be517f138bf42f9c7d0ca20
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  Set the right variable to NULL when unsetting ipv6_gateway

We were freeing one and setting a different one to NULL, eventually
leading to a crash when closing the netdev (at container shutdown)
and freeing already-freed memory.

Closes #732

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list