[PATCH 1/1] tar: Increase robustness of file descriptor handling

Tobias Schramm tobleminer at gmail.com
Sat Aug 4 17:56:47 UTC 2018


Uh, good catch. I wasn't thinking straight.

Can we be sure fd3 is not data.rd though? I think your version might
trash data.rd.
I think we should use dup(tar_fd) to get a free fd.

Cheers.
Tobias


More information about the busybox mailing list