[lxc-devel] [lxc/lxc] 6b1ba5: utils: fix lxc_mount_proc_if_needed()

GitHub noreply at github.com
Thu May 18 17:45:15 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6b1ba5d6be427ef4152381bbb29eea2f2b541fa8
      https://github.com/lxc/lxc/commit/6b1ba5d6be427ef4152381bbb29eea2f2b541fa8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: fix lxc_mount_proc_if_needed()

- check for buffer overflow
- only call INFO() after we ensured that readlink() was successful
- simplify logic

Reported-by: Benedikt Rosenkranz beluro at web.de
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a1387f5c14bc9561ca2d80dd5cd53be060724fbd
      https://github.com/lxc/lxc/commit/a1387f5c14bc9561ca2d80dd5cd53be060724fbd
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Merge pull request #1575 from brauner/2017-05-18/fix_tmp_mount_proc

utils: fix lxc_mount_proc_if_needed()


Compare: https://github.com/lxc/lxc/compare/0cb5ac09c9ff...a1387f5c14bc


More information about the lxc-devel mailing list