Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/102576/?format=api
http://patches.dpdk.org/api/patches/102576/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1634786612-115588-1-git-send-email-yogesh.jangra@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": "<1634786612-115588-1-git-send-email-yogesh.jangra@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1634786612-115588-1-git-send-email-yogesh.jangra@intel.com", "date": "2021-10-21T03:23:32", "name": "pipeline: fix instruction label check", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "fbb8aeae52bcabbdd41fc7e5c65bf4d693773188", "submitter": { "id": 2025, "url": "http://patches.dpdk.org/api/people/2025/?format=api", "name": "Yogesh Jangra", "email": "yogesh.jangra@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1634786612-115588-1-git-send-email-yogesh.jangra@intel.com/mbox/", "series": [ { "id": 19878, "url": "http://patches.dpdk.org/api/series/19878/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19878", "date": "2021-10-21T03:23:32", "name": "pipeline: fix instruction label check", "version": 1, "mbox": "http://patches.dpdk.org/series/19878/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/102576/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/102576/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6189DA0C4B;\n\tThu, 21 Oct 2021 12:33:45 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C7A86411DA;\n\tThu, 21 Oct 2021 12:33:44 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id D46C3410E2;\n Thu, 21 Oct 2021 12:33:42 +0200 (CEST)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Oct 2021 03:33:42 -0700", "from ena-4.iind.intel.com ([10.190.200.151])\n by fmsmga007.fm.intel.com with ESMTP; 21 Oct 2021 03:33:40 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10143\"; a=\"227768434\"", "E=Sophos;i=\"5.87,169,1631602800\"; d=\"scan'208\";a=\"227768434\"", "E=Sophos;i=\"5.87,169,1631602800\"; d=\"scan'208\";a=\"491706958\"" ], "X-ExtLoop1": "1", "From": "Yogesh Jangra <yogesh.jangra@intel.com>", "To": "dev@dpdk.org", "Cc": "cristian.dumitrescu@intel.com, venkata.suresh.kumar.p@intel.com,\n yogesh.jangra@intel.com, stable@dpdk.org", "Date": "Wed, 20 Oct 2021 23:23:32 -0400", "Message-Id": "<1634786612-115588-1-git-send-email-yogesh.jangra@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH] pipeline: fix instruction label check", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The instruction_data array was incorrectly indexed, which resulted in\nthe array index getting out of bounds and sometimes segfault.\n\nFixes: a1711f (“pipeline: add SWX Rx and extract instructions“)\nCc: stable@dpdk.org\n\nSigned-off-by: Yogesh Jangra <yogesh.jangra@intel.com>\nAcked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\n---\n lib/pipeline/rte_swx_pipeline.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/pipeline/rte_swx_pipeline.c b/lib/pipeline/rte_swx_pipeline.c\nindex 1cd09a4..0550560 100644\n--- a/lib/pipeline/rte_swx_pipeline.c\n+++ b/lib/pipeline/rte_swx_pipeline.c\n@@ -5983,7 +5983,7 @@ struct_field_parse(struct rte_swx_pipeline *p,\n \t\t\tcontinue;\n \n \t\tfor (j = i + 1; j < n_instructions; j++)\n-\t\t\tCHECK(strcmp(label, data[j].label), EINVAL);\n+\t\t\tCHECK(strcmp(label, instruction_data[j].label), EINVAL);\n \t}\n \n \t/* Get users for each instruction label. */\n", "prefixes": [] }{ "id": 102576, "url": "