1. 12 Apr, 2021 9 commits
  2. 18 Apr, 2021 1 commit
  3. 17 Apr, 2021 6 commits
  4. 16 Apr, 2021 1 commit
  5. 15 Apr, 2021 1 commit
  6. 14 Apr, 2021 3 commits
  7. 13 Apr, 2021 3 commits
  8. 12 Apr, 2021 8 commits
  9. 11 Apr, 2021 2 commits
  10. 10 Apr, 2021 4 commits
    • tests: fix a memory leak in attach · 621c7cc7
      Evgeny Vereshchagin authored
      Signed-off-by: 's avatarEvgeny Vereshchagin <evvers@ya.ru>
    • tests: fix a memory leak in cgpath · f80950ee
      Evgeny Vereshchagin authored
      ```
      ==131188==ERROR: LeakSanitizer: detected memory leaks
      
      Direct leak of 568 byte(s) in 1 object(s) allocated from:
          #0 0x7f8918943bc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
          #1 0x7f89181ee5a3 in lxc_container_new /home/vagrant/lxc/src/lxc/lxccontainer.c:5264
          #2 0x55ffc5022869 in test_container /home/vagrant/lxc/src/tests/cgpath.c:176
          #3 0x55ffc5023023 in main /home/vagrant/lxc/src/tests/cgpath.c:233
          #4 0x7f891709e0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
      ```
      Signed-off-by: 's avatarEvgeny Vereshchagin <evvers@ya.ru>
    • tests: fix a memory leak in lxcpath · 4cd72b69
      Evgeny Vereshchagin authored
      ```
      $ 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: 's avatarEvgeny Vereshchagin <evvers@ya.ru>
    • tests: fix a memory leak in cgpath · 5a9fae9e
      Evgeny Vereshchagin authored
      ```
      $ 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: 's avatarEvgeny Vereshchagin <evvers@ya.ru>
  11. 07 Apr, 2021 2 commits