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: initialize non-static class members in ESQueryCompiler #15884

Merged
merged 1 commit into from Jun 28, 2017

Conversation

Projects
None yet
3 participants
@joscollin
Member

joscollin commented Jun 23, 2017

Fixes the Coverity Scan Report:

CID 1412617 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
3. uninit_member: Non-static class member field_aliases is not initialized in this constructor nor in any functions that it calls.
5. uninit_member: Non-static class member restricted_fields is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Jos Collin jcollin@redhat.com

rgw: initialize non-static class members in ESQueryCompiler
Fixes the Coverity Scan Report:
CID 1412617 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
3. uninit_member: Non-static class member field_aliases is not initialized in this constructor nor in any functions that it calls.
5. uninit_member: Non-static class member restricted_fields is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Jos Collin <jcollin@redhat.com>

@cbodley cbodley added the needs-qa label Jun 23, 2017

@yuriw yuriw merged commit 6337f98 into ceph:master Jun 28, 2017

4 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
arm64 make check arm64 make check succeeded
Details
make check make check succeeded
Details
@yuriw

This comment has been minimized.

@joscollin joscollin deleted the joscollin:wip-1412617-uninitialized-pointer-field branch Jun 29, 2017

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