RE: [PATCH v12 2/3] examples/l3fwd-power: fix data overflow when parse command line

2024-10-24 Thread Konstantin Ananyev
> 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: sta...@dpdk.org >

[PATCH v12 2/3] examples/l3fwd-power: fix data overflow when parse command line

2024-10-22 Thread Huisong Li
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: sta...@dpdk.org Signed-off-by: