RE: [dpdk-dev] [PATCH 06/10] lib/librte_pipeline: fix the use of unsafe strcpy

2023-07-03 Thread Dumitrescu, Cristian
.com; > andrew.rybche...@oktetlabs.ru; hemant.agra...@nxp.com; or...@nvidia.com > Subject: Re: [dpdk-dev] [PATCH 06/10] lib/librte_pipeline: fix the use of > unsafe > strcpy > > On Mon, 19 Apr 2021 21:34:45 +0800 > "Min Hu (Connor)" wrote: > > > From: HongBo Zheng &

Re: [dpdk-dev] [PATCH 06/10] lib/librte_pipeline: fix the use of unsafe strcpy

2023-06-30 Thread Stephen Hemminger
On Mon, 19 Apr 2021 21:34:45 +0800 "Min Hu (Connor)" wrote: > From: HongBo Zheng > > 'strcpy' is called in rte_swx_ctl_table_info_get, this function > is unsafe, use 'strncpy' instead. > > Fixes: 393b96e2aa2a ("pipeline: add SWX pipeline query API") > Cc: sta...@dpdk.org > > Signed-off-by: Ho

Re: [dpdk-dev] [PATCH 06/10] lib/librte_pipeline: fix the use of unsafe strcpy

2021-04-20 Thread Andrew Rybchenko
On 4/19/21 4:34 PM, Min Hu (Connor) wrote: > From: HongBo Zheng > > 'strcpy' is called in rte_swx_ctl_table_info_get, this function > is unsafe, use 'strncpy' instead. > > Fixes: 393b96e2aa2a ("pipeline: add SWX pipeline query API") > Cc: sta...@dpdk.org > > Signed-off-by: HongBo Zheng > Signe

[dpdk-dev] [PATCH 06/10] lib/librte_pipeline: fix the use of unsafe strcpy

2021-04-19 Thread Min Hu (Connor)
From: HongBo Zheng 'strcpy' is called in rte_swx_ctl_table_info_get, this function is unsafe, use 'strncpy' instead. Fixes: 393b96e2aa2a ("pipeline: add SWX pipeline query API") Cc: sta...@dpdk.org Signed-off-by: HongBo Zheng Signed-off-by: Min Hu (Connor) --- lib/librte_pipeline/rte_swx_pip