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

Objecter: potential null pointer access when do pool_snap_list. #6422

Merged
merged 2 commits into from Nov 13, 2015

Conversation

xiexingguo
Copy link
Member

Objecter: potential null pointer access when do pool_snap_list. Shall check pool existence first.
Fixes: #13639
Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

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>
Result-code check is currently redundant since _calc_target never returns a negative value.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@jdurgin
Copy link
Member

jdurgin commented Nov 10, 2015

Good catch, the fixes look good to me.

@tchaikov
Copy link
Contributor

lgtm also.

liewegas added a commit that referenced this pull request Nov 13, 2015
librados: fix potential null pointer access when do pool_snap_list

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@liewegas liewegas merged commit a8f2e23 into ceph:master Nov 13, 2015
@xiexingguo xiexingguo deleted the xxg-wip13639 branch November 14, 2015 00:27
@ghost ghost added the core label Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants