ipc: fix duplicate string copy in async request
Coverity issue: 272582 Fixes: 2147c0950580 ("ipc: clean up code") Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
This commit is contained in:
parent
cd3da7cb0e
commit
f90e4fcc13
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user