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

2024-11-11 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:

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

2024-11-10 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: