]> git.ipfire.org Git - thirdparty/lxc.git/commit
confile: improve network vetting
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 27 Mar 2021 10:37:26 +0000 (11:37 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 27 Mar 2021 13:31:37 +0000 (14:31 +0100)
commit299ddd1663b86eabb0080b0cca044d2b7850e3c8
tree9cb5ae9d988ddf1e6d646ff7831a14118a094c03
parentbbc9892535bb5fb8e2571372a9d82513c22732ab
confile: improve network vetting

Move all input sanity checks up and add two missing checks for the
correct network type when using veth-vlan and vlan network types.

Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32513
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c