]> git.proxmox.com Git - mirror_lxc.git/commit
storage: avoid segfault
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 11 Sep 2017 01:30:00 +0000 (03:30 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 24 Sep 2017 04:23:26 +0000 (00:23 -0400)
commit6445152b1cfa0a46716eb129ea0066c0375f05a0
treefe711faf52a7069060d48a70381704e041e5f6e4
parentd745d937538081c456b850845680aa18b4a1da65
storage: avoid segfault

When the "lxc.rootfs.path" property is not set and users request a container
copy we would segfault since strstr() would be called on a NULL pointer.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/storage/storage.c