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 <camerontnorman@gmail.com>
Showing
Please
register
or
sign in
to comment