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

mon: Division by zero in PGMapDigest::dump_pool_stats_full() #15901

Merged
merged 1 commit into from Jun 25, 2017

Conversation

Projects
None yet
2 participants
@joscollin
Member

joscollin commented Jun 24, 2017

Fixes The Coverity Scan Report:

CID 1412577 (#1 of 1): Division or modulo by float zero (DIVIDE_BY_ZERO)
35. divide_by_zero: In expression (float)mk / k, division by expression k which may be zero has undefined behavior.

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

mon: Division by zero in PGMapDigest::dump_pool_stats_full()
Fixes The Coverity Scan Report:
CID 1412577 (#1 of 1): Division or modulo by float zero (DIVIDE_BY_ZERO)
35. divide_by_zero: In expression (float)mk / k, division by expression k which may be zero has undefined behavior.

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

@joscollin joscollin merged commit 8ebb13e into ceph:master Jun 25, 2017

4 checks passed

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

@joscollin joscollin deleted the joscollin:wip-CID1412577-Division-or-modulo-by-float-zero branch Jun 25, 2017

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