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

Disallow empty path on path_open #4759

Merged
merged 1 commit into from
May 28, 2024

Conversation

yagehu
Copy link
Contributor

@yagehu yagehu commented May 28, 2024

This commit changes path_open to return errno noent when the input path is empty. This is consistent with other runtimes as well as Linux host. POSIX also specifies this behavior.

fixes #4755

This commit changes `path_open` to return errno `noent` when the input
path is empty.  This is consistent with other runtimes as well as Linux
host. POSIX also specifies this behavior.

fixes wasmerio#4755
@syrusakbary syrusakbary enabled auto-merge May 28, 2024 16:11
@syrusakbary syrusakbary merged commit e9b3581 into wasmerio:main May 28, 2024
61 checks passed
@yagehu yagehu deleted the yagehu/open-empty-path branch June 4, 2024 16:18
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.

path_open should not successfully resolve empty path
2 participants