Skip to content

Conversation

@sunfishcode
Copy link
Member

Fix an overzealous optimization on Linux which inappropriately allowed Dir::symlink_metadata on a path of "/" to succeed.

Fixes bytecodealliance/wasmtime#11606.

Fix an overzealous optimization on Linux which inappropriately allowed
`Dir::symlink_metadata` on a path of "/" to succeed.

Fixes bytecodealliance/wasmtime#11606.
@sunfishcode sunfishcode force-pushed the sunfishcode/statat-slash branch from 563bfc8 to d771cd9 Compare October 24, 2025 20:36
@sunfishcode sunfishcode merged commit 4e8ba00 into main Oct 24, 2025
22 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/statat-slash branch October 24, 2025 21:11
sunfishcode added a commit to sunfishcode/wasmtime that referenced this pull request Oct 24, 2025
github-merge-queue bot pushed a commit to bytecodealliance/wasmtime that referenced this pull request Oct 24, 2025
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.

[v0.3] dirfd.stat_at("/") unexpectedly succeeds

2 participants