You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contents of a symlink is the path to which it points. We can simply
read the contents as a new path, and use `getEntry` to get the contents
of the symbolic link. This implementation should also fully traverse
any path that is a series of symbolic link. This does allow for a DoS
attack by creating a recursive symbolic link cycle (e.g.
`a` -> `b` -> `a`).
Fixes: swiftlang#7081
The contents of a symlink is the path to which it points. We can simply
read the contents as a new path, and use `getEntry` to get the contents
of the symbolic link. This implementation should also fully traverse any
path that is a series of symbolic link. This does allow for a DoS attack
by creating a recursive symbolic link cycle (e.g. `a` -> `b` -> `a`).
Fixes: #7081
Co-authored-by: Max Desiatov <[email protected]>
Description
If a package contains a symlink for the manifest, the package build seems to fail. Example: https://github.com/compnerd/swift-firebase/actions/runs/6836319759/job/18591096135?pr=27#logs
Expected behavior
Package should be possible to build.
Actual behavior
Package manifest fails to build.
Steps to reproduce
No response
Swift Package Manager version/commit hash
No response
Swift & OS version (output of
swift --version ; uname -a
)No response
The text was updated successfully, but these errors were encountered: