[lxc-devel] [lxc/lxc] c80c9a: cgfsng: fix cgroup attach cgroup creation
Stéphane Graber
noreply at github.com
Fri Aug 21 16:10:48 UTC 2020
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c80c9a70bcad9da9fe56f23ed971d74e4df19a95
https://github.com/lxc/lxc/commit/c80c9a70bcad9da9fe56f23ed971d74e4df19a95
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2020-08-21 (Fri, 21 Aug 2020)
Changed paths:
M src/lxc/cgroups/cgfsng.c
Log Message:
-----------
cgfsng: fix cgroup attach cgroup creation
[01m[Kcgroups/cgfsng.c:[m[K In function ‘[01m[Kcgroup_attach_leaf.constprop[m[K’:
[01m[Kcgroups/cgfsng.c:2221:10:[m[K [01;31m[Kerror: [m[Kwriting 1 byte into a region of size 0 [[01;31m[K-Werror=stringop-overflow=[m[K]
2221 | [01;31m[K*slash = '\0'[m[K;
| [01;31m[K~~~~~~~^~~~~~[m[K
[01m[Kcgroups/cgfsng.c:2213:8:[m[K [01;36m[Knote: [m[Kat offset -13 to object ‘[01m[Kattach_cgroup[m[K’ with size 23 declared here
2213 | char [01;36m[Kattach_cgroup[m[K[STRLITERALLEN(".lxc-1000/cgroup.procs") + 1];
| [01;36m[K^~~~~~~~~~~~~[m[K
[01m[Kcgroups/cgfsng.c:2229:10:[m[K [01;31m[Kerror: [m[Kwriting 1 byte into a region of size 0 [[01;31m[K-Werror=stringop-overflow=[m[K]
2229 | [01;31m[K*slash = '/'[m[K;
| [01;31m[K~~~~~~~^~~~~[m[K
[01m[Kcgroups/cgfsng.c:2213:8:[m[K [01;36m[Knote: [m[Kat offset -13 to object ‘[01m[Kattach_cgroup[m[K’ with size 23 declared here
2213 | char [01;36m[Kattach_cgroup[m[K[STRLITERALLEN(".lxc-1000/cgroup.procs") + 1];
| [01;36m[K^~~~~~~~~~~~~[m[K
[01m[Kcgroups/cgfsng.c:2229:10:[m[K [01;31m[Kerror: [m[Kwriting 1 byte into a region of size 0 [[01;31m[K-Werror=stringop-overflow=[m[K]
2229 | [01;31m[K*slash = '/'[m[K;
| [01;31m[K~~~~~~~^~~~~[m[K
[01m[Kcgroups/cgfsng.c:2213:8:[m[K [01;36m[Knote: [m[Kat offset -13 to object ‘[01m[Kattach_cgroup[m[K’ with size 23 declared here
2213 | char [01;36m[Kattach_cgroup[m[K[STRLITERALLEN(".lxc-1000/cgroup.procs") + 1];
| [01;36m[K^~~~~~~~~~~~~[m[K
Link: https://launchpadlibrarian.net/494354168/buildlog_ubuntu-groovy-armhf.lxc_1%3A4.0.4-0ubuntu1_BUILDING.txt.gz
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 256928ac6096ada0556616137bd2498858a1eaac
https://github.com/lxc/lxc/commit/256928ac6096ada0556616137bd2498858a1eaac
Author: Stéphane Graber <stgraber at ubuntu.com>
Date: 2020-08-21 (Fri, 21 Aug 2020)
Changed paths:
M src/lxc/cgroups/cgfsng.c
Log Message:
-----------
Merge pull request #3526 from brauner/2020-08-21/fixes
cgfsng: fix cgroup attach cgroup creation
Compare: https://github.com/lxc/lxc/compare/9d3b7c97f044...256928ac6096
More information about the lxc-devel
mailing list