[PATCH v13 2/3] examples/l3fwd-power: fix data overflow when parse command line
fengchengwen
fengchengwen at huawei.com
Fri Oct 25 13:27:56 CEST 2024
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
On 2024/10/25 17:18, Huisong Li wrote:
> Many variables are 'uint32_t', like, 'pause_duration', 'scale_freq_min'
> and so on. They use parse_int() to parse it from command line.
> But overflow problem occurs when this function return.
>
> Fixes: 59f2853c4cae ("examples/l3fwd_power: add configuration options")
> Cc: stable at dpdk.org
>
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
> ---
More information about the dev
mailing list