aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-09-13 16:14:12 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-09-13 16:20:01 +0100
commit8e60e299cdfb0027d6b6ea845234ef54ae785186 (patch)
tree317a9fa1fb03c391b34d5f2eeadc18b244b7083e /po
parent868966cd9dbb96ce3635d884e67e738b18658140 (diff)
downloadsos-8e60e299cdfb0027d6b6ea845234ef54ae785186.tar.gz
[archive, plugin] avoid recursing on symbolic link loops
It's possible that symlink loops exist in the host file system, either 'simple' ('a'->'a'), or indirect ('a'->'b'->'a'). We need to avoid recursing on these loops, to avoid exceeding the maximum link or recursion depths, but we should still represent these inodes as accurately as possible in the resulting archive. Detect loops in both the Plugin link handling code and in the new Archive link follow-up code by creating the first requested level of loop, and then skipping the recursive follow-up. This means that the looping links are still created in the archive so long as they are referenced in a copy spec but that we do not attempt to indefinitely recurse while collecting them. Resolves: #1430 Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions