If there is no weston-launcher available, launcher-util.c will fall back to opening the given file itself. It that case it does not set the close-on-exec flag, and will presumably leak the file descriptor to children. Use O_CLOEXEC on the fallback path, too. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
parent
8ff691593c
commit
27979b053f
Loading…
Reference in new issue