[dpdk-stable] [dpdk-dev] [PATCH] examples/vm_power_manager: fix overflowed value

Burakov, Anatoly anatoly.burakov at intel.com
Thu Apr 11 14:07:36 CEST 2019


On 11-Apr-19 12:13 PM, Reshma Pattan wrote:
> Fix the data type of last_branches, last_branch_misses
> from unit32_t to uint64_t, and for hits_diff, miss_diff
> from int to int64_t respectively to fix possible
> overflow or truncation.
> 
> Coverity issue: 337677
> Fixes: 4b1a631b8a ("examples/vm_power: add oob monitoring functions")
> CC: david.hunt at intel.com
> CC: stable at dpdk.org
> 
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
> ---

Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the stable mailing list