[dpdk-dev] [PATCH] app/testpmd: fix strcat can overrun fixed-size string

2016-04-27 Thread Thomas Monjalon
2016-04-11 18:03, Tomasz Kulasek: > CID 13307 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW) > fixed_size_dest: You might overrun the 128 byte fixed-size string fwd_modes > by copying fwd_eng->fwd_mode_name without checking the length. > > Fixes: 769ce6b17835 ("app/testpmd: list

[dpdk-dev] [PATCH] app/testpmd: fix strcat can overrun fixed-size string

2016-04-11 Thread Tomasz Kulasek
CID 13307 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW) fixed_size_dest: You might overrun the 128 byte fixed-size string fwd_modes by copying fwd_eng->fwd_mode_name without checking the length. Fixes: 769ce6b17835 ("app/testpmd: list forwarding engines") Signed-off-by: Tomasz Kulasek