Limit the maximum resolve depth to prevent infinite loops #3896
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
test script
symlink_2
symlink_3
symlink_4
symlink_5
symlink_6
symlink_7
symlink_8
symlink_9
symlink_10
symlink_11
symlink_12
symlink_13
symlink_14
symlink_15
symlink_16
symlink_17
symlink_18
symlink_19
symlink_20
symlink_21
symlink_22
symlink_23
symlink_24
symlink_25
symlink_26
symlink_27
symlink_28
symlink_29
symlink_30
symlink_31
symlink_32
symlink_33
symlink_34
symlink_35
symlink_36
symlink_37
symlink_38
symlink_39
symlink_40
ls: cannot access symlink_41: Too many levels of symbolic links