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

lib/wasi: try removing base absolute path check #3914

Closed
wants to merge 2 commits into from
Closed

lib/wasi: try removing base absolute path check #3914

wants to merge 2 commits into from

Conversation

waynr
Copy link
Contributor

@waynr waynr commented May 25, 2023

Description

We merged #3867 before everyone was fully agreed that it was the right
approach. The alternate discussed is shown here (in the initial commit of this
PR), which is to remove the !base_inode.deref().name.starts_with('/') portion
of the logic.

I am opening this PR to demonstrate via the new integration test I added in
#3867 (see
tests/integration/cli/tests/snapshots/snapshot__snapshot_readdir_tree.snap) how
removing that bit of logic breaks the path_filestat_get syscall.

@theduke theduke marked this pull request as draft May 30, 2023 03:45
@waynr waynr closed this by deleting the head repository Jun 23, 2023
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.

1 participant