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

memfs symlink that point outside memfs would cause unpredicatble behavior #64

Closed
maxirmx opened this issue Dec 21, 2021 · 0 comments · Fixed by #81
Closed

memfs symlink that point outside memfs would cause unpredicatble behavior #64

maxirmx opened this issue Dec 21, 2021 · 0 comments · Fixed by #81
Assignees
Labels
bug Something isn't working
Milestone

Comments

@maxirmx
Copy link
Member

maxirmx commented Dec 21, 2021

memfs symlink that point outside memfs would cause unpredicatble behavior

Tha issue affects all functions except stat.
Stat works correctly but st.ino returned can not be distinguished between memfs and real filesystem.

Not sure what is correct behavior is such case, probably we should not allow such symlinks in memfs

@maxirmx maxirmx added the bug Something isn't working label Dec 21, 2021
@maxirmx maxirmx added this to the v0.1.10 milestone Feb 8, 2022
@maxirmx maxirmx self-assigned this Mar 16, 2022
@maxirmx maxirmx linked a pull request Apr 2, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant