Skip to content

Add a WASI test for a creating an absolute-path symlink.#6166

Merged
sunfishcode merged 1 commit intomainfrom
sunfishcode/slash-dotdot
Apr 8, 2023
Merged

Add a WASI test for a creating an absolute-path symlink.#6166
sunfishcode merged 1 commit intomainfrom
sunfishcode/slash-dotdot

Conversation

@sunfishcode
Copy link
Copy Markdown
Member

Wasmtime disallows guests from using path_symlink to create absolute-path symlinks, as they could confuse other code into accessing resources on the host that the guest otherwise doesn't have access to.

This patch adds a test for this behavior.

Wasmtime disallows guests from using `path_symlink` to create
absolute-path symlinks, as they could confuse other code into
accessing resources on the host that the guest otherwise doesn't
have access to.

This patch adds a test for this behavior.
@sunfishcode sunfishcode requested a review from a team as a code owner April 6, 2023 14:30
@sunfishcode sunfishcode requested review from jameysharp and removed request for a team April 6, 2023 14:30
@sunfishcode sunfishcode added this pull request to the merge queue Apr 8, 2023
Merged via the queue into main with commit e84305b Apr 8, 2023
@sunfishcode sunfishcode deleted the sunfishcode/slash-dotdot branch April 8, 2023 06:49
brendandburns pushed a commit to brendandburns/wasmtime that referenced this pull request Apr 13, 2023
…iance#6166)

Wasmtime disallows guests from using `path_symlink` to create
absolute-path symlinks, as they could confuse other code into
accessing resources on the host that the guest otherwise doesn't
have access to.

This patch adds a test for this behavior.
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