[lxc-devel] [lxc/lxc] 79d2f5: confile: add missing prefix validation

St├ęphane Graber noreply at github.com
Sun Mar 28 16:35:32 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 79d2f54fd5f26c69c6e0c3e5e813c9752ae0cc4c
      https://github.com/lxc/lxc/commit/79d2f54fd5f26c69c6e0c3e5e813c9752ae0cc4c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-03-27 (Sat, 27 Mar 2021)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: add missing prefix validation

Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32488
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 405b28a4de42c15a060ecb95b63fcee08b98885b
      https://github.com/lxc/lxc/commit/405b28a4de42c15a060ecb95b63fcee08b98885b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-03-27 (Sat, 27 Mar 2021)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: don't leak memory in case multiple shmounts are set

Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32503
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 4c5479d21e4d8d0bd1ca6abc04f6800a92fd34e5
      https://github.com/lxc/lxc/commit/4c5479d21e4d8d0bd1ca6abc04f6800a92fd34e5
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-03-28 (Sun, 28 Mar 2021)

  Changed paths:
    M src/lxc/compiler.h
    M src/lxc/confile.c
    M src/lxc/string_utils.c
    M src/lxc/string_utils.h
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  string_utils: handle overflow correct in parse_byte_size_string()

This takes the overflow handling code from the kernel.

Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32549
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: db62570f0f89cb33e6ea3f37f19ba8c028dafe2d
      https://github.com/lxc/lxc/commit/db62570f0f89cb33e6ea3f37f19ba8c028dafe2d
  Author: St├ęphane Graber <stgraber at ubuntu.com>
  Date:   2021-03-28 (Sun, 28 Mar 2021)

  Changed paths:
    M src/lxc/compiler.h
    M src/lxc/confile.c
    M src/lxc/string_utils.c
    M src/lxc/string_utils.h
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  Merge pull request #3743 from brauner/2021-03-27/fixes_3

oss-fuzz: fixes


Compare: https://github.com/lxc/lxc/compare/d734e61169f5...db62570f0f89


More information about the lxc-devel mailing list