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

infernalis: fs: Segmentation fault accessing file using fuse mount #6853

Merged
1 commit merged into from Feb 10, 2016

Conversation

Abhishekvrshny
Copy link

snap inodes' ->snaprealm can be NULL, so dereferencing it in
check_pool_perm() can cause segment fault. The pool permission
check does not write any data, so it's safe to use null snapc.

Fixes: ceph#13714
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit fad3772)
@Abhishekvrshny Abhishekvrshny added the cephfs Ceph File System label Dec 8, 2015
@Abhishekvrshny Abhishekvrshny added this to the infernalis milestone Dec 8, 2015
@Abhishekvrshny Abhishekvrshny self-assigned this Dec 8, 2015
@Abhishekvrshny Abhishekvrshny added bug-fix core and removed cephfs Ceph File System labels Dec 8, 2015
ghost pushed a commit that referenced this pull request Feb 8, 2016
…le using fuse mount

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented Feb 8, 2016

@jcsp does this backport look good to merge ? It passed a run of the infernalis rados suite ( see http://tracker.ceph.com/issues/13750#note-14 for details ), except for rados/singleton-nomsgr/{all/11429.yaml} which also is breaks in various ways on the infernalis branch. Note that all valgrind tests in these suites fail because of an environmental problem ( http://tracker.ceph.com/issues/14664 ). The upgrade/infernalis suite also passes ( http://tracker.ceph.com/issues/13750#note-15 ) except for "radosgw-admin -n client.0 user create" errors ( http://tracker.ceph.com/issues/14665 ) which I believe to be unrelated.

@ukernel
Copy link
Contributor

ukernel commented Feb 8, 2016

looks good

ghost pushed a commit that referenced this pull request Feb 10, 2016
infernalis: Segmentation fault accessing file using fuse mount

Reviewed-by: Yan, Zheng <zyan@redhat.com>
@ghost ghost merged commit 4dc9791 into ceph:infernalis Feb 10, 2016
@Abhishekvrshny Abhishekvrshny changed the title infernalis: Segmentation fault accessing file using fuse mount infernalis: fs: Segmentation fault accessing file using fuse mount Feb 18, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants