]> git.ipfire.org Git - thirdparty/tar.git/commit
Prevent dead loop in extract_file
authorSergey Poznyakoff <gray@gnu.org>
Sat, 11 Feb 2023 11:03:23 +0000 (13:03 +0200)
committerSergey Poznyakoff <gray@gnu.org>
Sat, 11 Feb 2023 11:03:23 +0000 (13:03 +0200)
commitedf38d13a47becec81b2c3a2b74f54771e1cbee4
tree38b6bd24f0be209833247ff3df245a7fa0af447b
parent3da78400eafcccb97e2f2fd4b227ea40d794ede8
Prevent dead loop in extract_file

* src/extract.c (maybe_recoverable): If make_directories indicates
success, suppose some intermediate directories have been made, even
if in fact they have not.  That's necessary to avoid dead loops when
maybe_recoverable is called with the same arguments again.
src/extract.c