Branch: refs/heads/stable-4.0 Home: https://github.com/lxc/lxc Commit: 674791ed75c53fb18c5823c5807876bde4865616 https://github.com/lxc/lxc/commit/674791ed75c53fb18c5823c5807876bde4865616 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths: M src/lxc/confile.c Log Message: ----------- confile: make lxc_get_config() and lxc_get_config_net() always return non-NULL Introduce the concept of an unsupported config item. Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: e46bffbb19e91d4b4c6e677b70f245f73a7c323a https://github.com/lxc/lxc/commit/e46bffbb19e91d4b4c6e677b70f245f73a7c323a Author: Evgeny Vereshchagin <evv...@ya.ru> Date: 2021-04-13 (Tue, 13 Apr 2021) Changed paths: M src/tests/cgpath.c Log Message: ----------- tests: fix a memory leak in cgpath ``` $ sudo ./src/tests/lxc-test-cgpath Container creation tests...Passed Container creation with LXCPATH tests...Passed ================================================================= ==57206==ERROR: LeakSanitizer: detected memory leaks Direct leak of 296 byte(s) in 1 object(s) allocated from: #0 0x7fef22c27dc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6) #1 0x557c6e3ce3d9 in cgroup_ops_init cgroups/cgfsng.c:3347 #2 0x557c6e3d6516 in cgroup_init cgroups/cgroup.c:33 #3 0x557c6e3788e2 in test_running_container /home/vagrant/lxc/src/tests/cgpath.c:102 #4 0x557c6e379c69 in test_container /home/vagrant/lxc/src/tests/cgpath.c:197 #5 0x557c6e379e37 in main /home/vagrant/lxc/src/tests/cgpath.c:233 #6 0x7fef2136c0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) Direct leak of 296 byte(s) in 1 object(s) allocated from: #0 0x7fef22c27dc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6) #1 0x557c6e3ce3d9 in cgroup_ops_init cgroups/cgfsng.c:3347 #2 0x557c6e3d6516 in cgroup_init cgroups/cgroup.c:33 #3 0x557c6e3788e2 in test_running_container /home/vagrant/lxc/src/tests/cgpath.c:102 #4 0x557c6e379c69 in test_container /home/vagrant/lxc/src/tests/cgpath.c:197 #5 0x557c6e379e61 in main /home/vagrant/lxc/src/tests/cgpath.c:237 #6 0x7fef2136c0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) ``` Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru> Commit: 2cba1595e66c62d4a6ed4f8cd813bb06030238d8 https://github.com/lxc/lxc/commit/2cba1595e66c62d4a6ed4f8cd813bb06030238d8 Author: Evgeny Vereshchagin <evv...@ya.ru> Date: 2021-04-13 (Tue, 13 Apr 2021) Changed paths: M src/tests/lxcpath.c Log Message: ----------- tests: fix a memory leak in lxcpath ``` $ sudo ./src/tests/lxc-test-lxcpath ================================================================= ==95911==ERROR: LeakSanitizer: detected memory leaks Direct leak of 39 byte(s) in 1 object(s) allocated from: #0 0x7effafc8d3dd in strdup (/lib/x86_64-linux-gnu/libasan.so.5+0x963dd) #1 0x7effaf5a2de6 in lxcapi_config_file_name /home/vagrant/lxc/src/lxc/lxccontainer.c:3190 #2 0x562961680c30 in main /home/vagrant/lxc/src/tests/lxcpath.c:49 #3 0x7effae5150b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) Direct leak of 21 byte(s) in 1 object(s) allocated from: #0 0x7effafc8d3dd in strdup (/lib/x86_64-linux-gnu/libasan.so.5+0x963dd) #1 0x7effaf5a2de6 in lxcapi_config_file_name /home/vagrant/lxc/src/lxc/lxccontainer.c:3190 #2 0x56296168115e in main /home/vagrant/lxc/src/tests/lxcpath.c:77 #3 0x7effae5150b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) Direct leak of 21 byte(s) in 1 object(s) allocated from: #0 0x7effafc8d3dd in strdup (/lib/x86_64-linux-gnu/libasan.so.5+0x963dd) #1 0x7effaf5a2de6 in lxcapi_config_file_name /home/vagrant/lxc/src/lxc/lxccontainer.c:3190 #2 0x562961680f0a in main /home/vagrant/lxc/src/tests/lxcpath.c:63 #3 0x7effae5150b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2) SUMMARY: AddressSanitizer: 81 byte(s) leaked in 3 allocation(s). ``` Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru> Compare: https://github.com/lxc/lxc/compare/9c75153c5c2b...2cba1595e66c _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel