[lxc-devel] [lxc/lxc] 74f052: log: Don't crash when name is NULL

GitHub noreply at github.com
Fri Feb 7 14:16:45 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 74f052ddfb9dc6f1f61b2d4557536c4c84f116c7
      https://github.com/lxc/lxc/commit/74f052ddfb9dc6f1f61b2d4557536c4c84f116c7
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M src/lxc/log.c

  Log Message:
  -----------
  log: Don't crash when name is NULL

This fixes a crash in lxc-autostart following the addition of
lxc_log_init as lxc-autostart doesn't use the name property.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre at canonical.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list