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

Thomas Monjalon thomas at monjalon.net
Mon Apr 22 23:17:02 CEST 2019


11/04/2019 14:07, Burakov, Anatoly:
> 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>

Applied, thanks





More information about the stable mailing list