Discussion:
[lxc-devel] [lxc/lxc] c14ea1: lxc-usernsexec: fix default map functionality
GitHub
2018-11-30 07:37:29 UTC
Permalink
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c14ea11dccbfa80021a9b169b94bd86e8b359611
https://github.com/lxc/lxc/commit/c14ea11dccbfa80021a9b169b94bd86e8b359611
Author: Cameron Nemo <***@gmail.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M src/lxc/cmd/lxc_usernsexec.c

Log Message:
-----------
lxc-usernsexec: fix default map functionality

* Place NULL bytes at the end of strings so that
lxc_safe_ulong() can parse them correctly

* Only free the newly created id_map on error,
to avoid passing garbage to lxc_map_ids()

Signed-off-by: Cameron Nemo <***@gmail.com>


Commit: ec4b01c01e20be8acd7cac76e0e74db71cd8aa42
https://github.com/lxc/lxc/commit/ec4b01c01e20be8acd7cac76e0e74db71cd8aa42
Author: Christian Brauner <***@brauner.io>
Date: 2018-11-30 (Fri, 30 Nov 2018)

Changed paths:
M src/lxc/cmd/lxc_usernsexec.c

Log Message:
-----------
Merge pull request #2740 from CameronNemo/usernsexec

lxc-usernsexec: fix default map functionality


Compare: https://github.com/lxc/lxc/compare/b8f44de376aa...ec4b01c01e20
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

Functionality will be removed from GitHub.com on January 31st, 2019.
Loading...