Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from filepath.EvalSymlinks to fs.ResolvePath #1644

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

helsaawy
Copy link
Contributor

@helsaawy helsaawy commented Feb 6, 2023

filepath.EvalSymlinks does not work well on Windows, and can loop indefinitely in certain situations and error out.
Switch from "path/filepath".EvalSymlinks to "github.com/Microsoft/go-winio/pkg/fs".ResolvePath

Relies on: microsoft/go-winio#275

Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

@helsaawy helsaawy marked this pull request as ready for review April 14, 2023 20:44
@helsaawy helsaawy requested a review from a team as a code owner April 14, 2023 20:44
internal/hcsoci/hcsdoc_wcow.go Outdated Show resolved Hide resolved
internal/layers/layers.go Outdated Show resolved Hide resolved
Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy helsaawy merged commit d483254 into microsoft:main Apr 14, 2023
@helsaawy helsaawy deleted the evalsymlink branch April 14, 2023 21:48
princepereira pushed a commit to princepereira/hcsshim that referenced this pull request Aug 29, 2024
Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants