[PATCH v12 2/3] examples/l3fwd-power: fix data overflow when parse command line
Konstantin Ananyev
konstantin.ananyev at huawei.com
Thu Oct 24 18:34:26 CEST 2024
> 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>
> 2.22.0
More information about the dev
mailing list