Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/51633/?format=api
http://patches.dpdk.org/api/patches/51633/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190325143731.6488-1-roy.fan.zhang@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20190325143731.6488-1-roy.fan.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190325143731.6488-1-roy.fan.zhang@intel.com", "date": "2019-03-25T14:37:31", "name": "vhost/crypto: fix coverity issues", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "6c11dd10fff1e492fba96b6c0e09a758fde28ccd", "submitter": { "id": 304, "url": "http://patches.dpdk.org/api/people/304/?format=api", "name": "Fan Zhang", "email": "roy.fan.zhang@intel.com" }, "delegate": { "id": 2642, "url": "http://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190325143731.6488-1-roy.fan.zhang@intel.com/mbox/", "series": [ { "id": 3898, "url": "http://patches.dpdk.org/api/series/3898/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3898", "date": "2019-03-25T14:37:31", "name": "vhost/crypto: fix coverity issues", "version": 1, "mbox": "http://patches.dpdk.org/series/3898/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/51633/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/51633/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EFD562BFA;\n\tMon, 25 Mar 2019 15:39:47 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 303DE2BF4;\n\tMon, 25 Mar 2019 15:39:45 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Mar 2019 07:39:43 -0700", "from silpixa00398673.ir.intel.com (HELO\n\tsilpixa00398673.ger.corp.intel.com) ([10.237.223.136])\n\tby orsmga005.jf.intel.com with ESMTP; 25 Mar 2019 07:39:43 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.60,269,1549958400\"; d=\"scan'208\";a=\"310251070\"", "From": "Fan Zhang <roy.fan.zhang@intel.com>", "To": "dev@dpdk.org", "Cc": "maxime.coquelin@redhat.com, Fan Zhang <roy.fan.zhang@intel.com>,\n\tstable@dpdk.org", "Date": "Mon, 25 Mar 2019 14:37:31 +0000", "Message-Id": "<20190325143731.6488-1-roy.fan.zhang@intel.com>", "X-Mailer": "git-send-email 2.14.5", "Subject": "[dpdk-dev] [PATCH] vhost/crypto: fix coverity issues", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Fixes: cd1e8f03abf0 (\"vhost/crypto: fix packet copy in chaining mode\")\n\nCoverity Issue: 277214\nCoverity Issue: 277220\nCoverity Issue: 277233\nCoverity Issue: 277236\n\nCc: stable@dpdk.org\n\nSigned-off-by: Fan Zhang <roy.fan.zhang@intel.com>\n---\n lib/librte_vhost/vhost_crypto.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/librte_vhost/vhost_crypto.c b/lib/librte_vhost/vhost_crypto.c\nindex 9b4b850e8..0edf12d52 100644\n--- a/lib/librte_vhost/vhost_crypto.c\n+++ b/lib/librte_vhost/vhost_crypto.c\n@@ -1109,7 +1109,7 @@ prepare_sym_chain_op(struct vhost_crypto *vcrypto, struct rte_crypto_op *op,\n \n \t\tif (unlikely(copy_data(digest_addr, vc_req, &digest_desc,\n \t\t\t\tchain->para.hash_result_len,\n-\t\t\t\tnb_descs, vq_size)) < 0) {\n+\t\t\t\tnb_descs, vq_size) < 0)) {\n \t\t\tret = VIRTIO_CRYPTO_BADMSG;\n \t\t\tgoto error_exit;\n \t\t}\n@@ -1627,7 +1627,7 @@ rte_vhost_crypto_fetch_requests(int vid, uint32_t qid,\n \t\t\top->sym->m_src->data_off = 0;\n \n \t\t\tif (unlikely(vhost_crypto_process_one_req(vcrypto, vq,\n-\t\t\t\t\top, head, desc_idx)) < 0)\n+\t\t\t\t\top, head, desc_idx) < 0))\n \t\t\t\tbreak;\n \t\t}\n \n", "prefixes": [] }{ "id": 51633, "url": "