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

fix(obj-gluster): use OpenDir for directories, avoid segmentation fault #5345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CodingPoeta
Copy link
Contributor

close #5211 #4043

This problem with libgfapi is caused by this PR gluster/glusterfs#3755.

glfd->entries should be initiated at first like in pub_glfs_opendir.
In pub_glfs_open, it's not initiated and returned without error, which leads to segmentation when calling readdir.

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.

Juicefs on GlusterFS 10.3 results in SIGSEGV and I/O corruption
1 participant