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: objecter: potential null pointer access when do pool_snap_list. #6840

Merged
merged 2 commits into from Feb 8, 2016

Conversation

smithfarm
Copy link
Contributor

Objecter: potential null pointer access when do pool_snap_list. Shall check pool existence first.
Fixes: ceph#13639
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 8655416)
Result-code check is currently redundant since _calc_target never returns a negative value.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>

(cherry picked from commit 5a6117e)
@smithfarm smithfarm self-assigned this Dec 7, 2015
@smithfarm smithfarm added this to the infernalis milestone Dec 7, 2015
ghost pushed a commit that referenced this pull request Feb 8, 2016
…n do pool_snap_list.

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

ghost commented Feb 8, 2016

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.

@ghost
Copy link

ghost commented Feb 8, 2016

@liewegas does this backport look good to merge ?

@ghost ghost assigned liewegas and unassigned smithfarm Feb 8, 2016
liewegas added a commit that referenced this pull request Feb 8, 2016
Objecter: potential null pointer access when do pool_snap_list.

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 77a26d8 into ceph:infernalis Feb 8, 2016
@smithfarm smithfarm deleted the wip-13791-infernalis branch February 8, 2016 15:07
@Abhishekvrshny Abhishekvrshny changed the title Objecter: potential null pointer access when do pool_snap_list. infernalis: Objecter: potential null pointer access when do pool_snap_list. Feb 18, 2016
@Abhishekvrshny Abhishekvrshny changed the title infernalis: Objecter: potential null pointer access when do pool_snap_list. infernalis: objecter: potential null pointer access when do pool_snap_list. Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants