[lxc-devel] [lxc/lxc] ce70ff: terminal: return NULL on error in terminal_signal_...

Stéphane Graber noreply at github.com
Tue Oct 29 08:29:19 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ce70ff7c4cd43fc23cbddbe4d09c56426a709fc7
      https://github.com/lxc/lxc/commit/ce70ff7c4cd43fc23cbddbe4d09c56426a709fc7
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M src/lxc/terminal.c

  Log Message:
  -----------
  terminal: return NULL on error in terminal_signal_init

Callers expect a NULL on error, and with PR #3171 marking
the pointer as __do_free, we now return a pointer to freed
memory here otherwise.

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 202d2ca3c2ba0f8c21e9b0c2f694bb3c4dbd8396
      https://github.com/lxc/lxc/commit/202d2ca3c2ba0f8c21e9b0c2f694bb3c4dbd8396
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M src/lxc/terminal.c

  Log Message:
  -----------
  Merge pull request #3174 from Blub/2019-10-29/terminal-init-null-on-error

terminal: return NULL on error in terminal_signal_init


Compare: https://github.com/lxc/lxc/compare/636a2ef2f9d2...202d2ca3c2ba


More information about the lxc-devel mailing list