[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH 0/1] tar: Increase robustness of file descriptor handling
From:       Tobias Schramm <tobleminer () gmail ! com>
Date:       2018-08-03 21:09:05
Message-ID: 20180803210906.24242-1-tobleminer () gmail ! com
[Download RAW message or body]

Hi,

this patch increases the robustness of tars file descriptor handling when
calling gzip. Without this patch it is not possible to use tar to create
a gzip compressed tar archive in an environment where fd0 has been closed.
The file for the tar archive would be assigned to fd0 and overwritten by
the first call to xmove_fd in vfork_compressor.


Greetings,

Tobias


Tobias Schramm (1):
  tar: Increase robustness of file descriptor handling

 archival/tar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.18.0

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic