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

Fix crash when using @source containing .. #14831

Merged
merged 14 commits into from
Oct 30, 2024

Conversation

RobinMalfait
Copy link
Member

This PR fixes an issue where a @source crashes when the path eventually resolves to a path ending in ...

We have to make sure that we canonicalize the path to make sure that we are working with the real directory.

@RobinMalfait RobinMalfait requested a review from a team as a code owner October 30, 2024 15:53
@RobinMalfait RobinMalfait force-pushed the fix/crash-when-using-source branch from 5c44bc7 to f229783 Compare October 30, 2024 16:08
@RobinMalfait RobinMalfait enabled auto-merge (squash) October 30, 2024 16:09
@RobinMalfait RobinMalfait force-pushed the fix/crash-when-using-source branch from f229783 to 3953681 Compare October 30, 2024 16:49
@RobinMalfait RobinMalfait changed the title Fix crash when using @source with path that ends in .. ix crash when using @source containing .. Oct 30, 2024
@RobinMalfait RobinMalfait changed the title ix crash when using @source containing .. Fix crash when using @source containing .. Oct 30, 2024
@thecrypticace thecrypticace marked this pull request as draft October 30, 2024 19:41
@thecrypticace thecrypticace marked this pull request as ready for review October 30, 2024 20:06
@thecrypticace thecrypticace merged commit 92007a5 into next Oct 30, 2024
1 check passed
@thecrypticace thecrypticace deleted the fix/crash-when-using-source branch October 30, 2024 20:24
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.

2 participants