Piotr Kliczewski has submitted this change and it was merged.
Change subject: engine: fixed possible int overflow in getMemSharedPercent
......................................................................
engine: fixed possible int overflow in getMemSharedPercent
- if there is system with 21TB+ shared memory the int value
will overflow when counting the percentage
Change-Id: I655a5558ff4fc7d7ad90ad5f9c4bd57ae9723838
Bug-Url:
https://bugzilla.redhat.com/1093786
Signed-off-by: Jiri Moskovcak <moskovcak(a)gmail.com>
(cherry picked from commit 614fc71d30fd305826bf36cb9c208929606d9588)
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jiří Moskovčák: Verified
Gilad Chaplik: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/30644
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I655a5558ff4fc7d7ad90ad5f9c4bd57ae9723838
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Jiří Moskovčák <jmoskovc(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server