Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroup: initialize controllers buffer to 0s (#106)
Initialize controllers buffer to 0s in case there are no cgroups controllers and reading "cgroup.controllers" results in 0 bytes. Without this, the controllers buffer contents is undefined and then later on we attempt to strtok on the undefined buffer to split it on spaces which can yield undefined results.
- Loading branch information