[dpdk-dev] [PATCH v1] lib/metrics: add check for invalid metric keys

Ferruh Yigit ferruh.yigit at intel.com
Fri Jul 20 17:31:23 CEST 2018


On 7/6/2018 2:21 PM, Remy Horton wrote:
> This patchset adds a check to rte_metrics_update_values()
> that prevents the updating of metrics when presented with
> an invalid metric key. Previously, doing the latter could
> result in a crash.
> 
> Fixes: 349950ddb9c5 ("metrics: add information metrics library")
> 
> Signed-off-by: Remy Horton <remy.horton at intel.com>

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the dev mailing list