]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
start: check event loop type before closing fd
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 28 Oct 2021 15:39:42 +0000 (17:39 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 28 Oct 2021 15:39:42 +0000 (17:39 +0200)
commita585382b972c25ee8489147d94918d001ef439a7
treea142368e7b181096a6a65d6b74c6c9b1c33978c6
parentaac3f106ff012e1d6835b20c250dcf09c364530c
start: check event loop type before closing fd

Since this is a union we might otherwise stomp on io_uring mmap()ed
memory.

Fixes: #4016
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c