[cgmanager-devel] [cgmanager/cgmanager] 5507c3: compute_pid_cgroup: fix potential use of uninitial...
GitHub
noreply at github.com
Mon Mar 31 15:42:34 UTC 2014
Branch: refs/heads/master
Home: https://github.com/cgmanager/cgmanager
Commit: 5507c34062a9d4349ccb1b9e2f0c920e74eb91e2
https://github.com/cgmanager/cgmanager/commit/5507c34062a9d4349ccb1b9e2f0c920e74eb91e2
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-03-31 (Mon, 31 Mar 2014)
Changed paths:
M cgmanager.c
M fs.c
M fs.h
Log Message:
-----------
compute_pid_cgroup: fix potential use of uninitialized cg
Initialize it to "", as that is the proper value if we pass in an
absolute path.
Also always compute the full cgroup depth in compute_pid_cgroup,
as that simply makes more sense.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the cgmanager-devel
mailing list