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

rgw: avoid using null pointer in rgw_file.cc #14474

Merged
merged 1 commit into from Apr 13, 2017

Conversation

Projects
None yet
4 participants
@Wilhelmshaven
Contributor

Wilhelmshaven commented Apr 12, 2017

When rgw_fh is null, I think we should avoid using rgw_fh->full_object_name().

Signed-off-by: lihongjie lihongjie@cmss.chinamobile.com

rgw: avoid using null pointer in rgw_file.cc
When rgw_fh doesn't exist, we should not use rgw_fh->full_object_name().

Signed-off-by: lihongjie <lihongjie@cmss.chinamobile.com>
@dang

dang approved these changes Apr 12, 2017

@mattbenjamin mattbenjamin merged commit 335cf9a into ceph:master Apr 13, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@Wilhelmshaven Wilhelmshaven deleted the Wilhelmshaven:fix_non-exist_string branch Apr 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment