* [dpdk-dev] [PATCH] ipc: fix duplicate string copy
@ 2018-05-03 10:35 Anatoly Burakov
2018-05-09 13:58 ` Van Haaren, Harry
0 siblings, 1 reply; 3+ messages in thread
From: Anatoly Burakov @ 2018-05-03 10:35 UTC (permalink / raw)
To: dev; +Cc: jianfeng.tan
Coverity issue: 272582
Fixes: 2147c0950580 ("ipc: clean up code")
Cc: jianfeng.tan@intel.com
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
lib/librte_eal/common/eal_common_proc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c
index 611aba2..707d8ab 100644
--- a/lib/librte_eal/common/eal_common_proc.c
+++ b/lib/librte_eal/common/eal_common_proc.c
@@ -870,7 +870,6 @@ mp_request_async(const char *dst, struct rte_mp_msg *req,
pending_req->type = REQUEST_TYPE_ASYNC;
strlcpy(pending_req->dst, dst, sizeof(pending_req->dst));
- strcpy(pending_req->dst, dst);
pending_req->request = req;
pending_req->reply = reply_msg;
pending_req->async.param = param;
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] ipc: fix duplicate string copy
2018-05-03 10:35 [dpdk-dev] [PATCH] ipc: fix duplicate string copy Anatoly Burakov
@ 2018-05-09 13:58 ` Van Haaren, Harry
2018-05-14 1:21 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Van Haaren, Harry @ 2018-05-09 13:58 UTC (permalink / raw)
To: Burakov, Anatoly, dev; +Cc: Tan, Jianfeng
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Anatoly Burakov
> Sent: Thursday, May 3, 2018 11:35 AM
> To: dev@dpdk.org
> Cc: Tan, Jianfeng <jianfeng.tan@intel.com>
> Subject: [dpdk-dev] [PATCH] ipc: fix duplicate string copy
>
> Coverity issue: 272582
>
> Fixes: 2147c0950580 ("ipc: clean up code")
> Cc: jianfeng.tan@intel.com
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] ipc: fix duplicate string copy
2018-05-09 13:58 ` Van Haaren, Harry
@ 2018-05-14 1:21 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2018-05-14 1:21 UTC (permalink / raw)
To: Burakov, Anatoly; +Cc: dev, Van Haaren, Harry, Tan, Jianfeng
> > Coverity issue: 272582
> >
> > Fixes: 2147c0950580 ("ipc: clean up code")
> > Cc: jianfeng.tan@intel.com
> >
> > Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
>
> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-14 1:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 10:35 [dpdk-dev] [PATCH] ipc: fix duplicate string copy Anatoly Burakov
2018-05-09 13:58 ` Van Haaren, Harry
2018-05-14 1:21 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).