[CRIU] [PATCH 0/5] Leak fd on error fixes

Pavel Emelyanov xemul at parallels.com
Fri May 8 05:32:36 PDT 2015


On 05/06/2015 01:31 AM, 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
> 
>  files.c   | 15 ++++++++++-----
>  log.c     |  1 +
>  sk-inet.c |  4 ++--
>  tun.c     |  2 +-
>  4 files changed, 14 insertions(+), 8 deletions(-)
> 

Applied, thanks!


More information about the CRIU mailing list