[CRIU] [PATCH 0/5] Leak fd on error fixes
Andrew Vagin
avagin at odin.com
Thu May 7 05:26:04 PDT 2015
On Tue, May 05, 2015 at 03:31:07PM -0700, Kir Kolyshkin wrote:
> Here are a few trivial patches, fixing cases of a file descriptor
> being leaked on an error path. Nothing serious but worth having
> especially in case of a daemon.
>
> Kir Kolyshkin (5):
> open_inet_sk(): don't leak socket fd on error
> serve_out_fd(): don't leak fd on error
> restore_fs(): don't leak fds on error
> tunfile_open(): don't leak fd on error path
> log_init(): don't leak fd on error
>
Acked-by: Andrew Vagin <avagin at odin.com>
> files.c | 15 ++++++++++-----
> log.c | 1 +
> sk-inet.c | 4 ++--
> tun.c | 2 +-
> 4 files changed, 14 insertions(+), 8 deletions(-)
>
> --
> 1.9.3
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list