From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 58F74A0350; Mon, 28 Feb 2022 18:09:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49C804118A; Mon, 28 Feb 2022 18:09:08 +0100 (CET) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id E67524068C for ; Mon, 28 Feb 2022 18:09:06 +0100 (CET) Received: by mail-pf1-f173.google.com with SMTP id d17so11588213pfl.0 for ; Mon, 28 Feb 2022 09:09:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3gANRX7URbzYxC9tz3ZjaAlngamSmYwEFznPw554K4I=; b=mvq5N2tateiTrQyYpcrzUsWOnX4SZDM3otfDzbzuuEAydj3oSIom49exhiAeRk+KfQ JQTFWOYOfOlgXTihU3nsQlnV/SZkcbfTQ9gH5TG0FlNq3d9RVrkA5CYpAMsNIUtaRIrq +2obmuhP3pXVjQ7gH3I3Gyn2WyDBF9XDKwh1NtnuBoaz+4AOW/QG+GziYbaqCS/IFcMY sCYwCKlzLHx73lKIGvqs6/gdB+ORcecVZYhe73AovhxaBnA/zLWs2WAyQWenXwXq3dbr YW73gWFojflPoFREjlZnDkDm9ci0yd3g5ScG7uVJCxEJzb4nwtJUCarxe8FiOpduz+8l zRUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3gANRX7URbzYxC9tz3ZjaAlngamSmYwEFznPw554K4I=; b=TvhqHlp8s0KYAUHJuLCSnUDqFM1jA3ZOYlrSlFXlpExajOGvjOu1zS/okm/5BlvkQB 37L0YkN/Mk7tQQhzCyUjAXsQt9pO+lHmITRSZGi4zJaCfEjb4ez6x8Dpgs/mqF0iHNTc sDWrx9caPggADz5K4TgL34qRTTNWUllk9gKvZnx358vh8eN0TzC8SAWOIvnMzXO7P8nY c2ols96LrpY6O+pqSBYXr5kV5dAsvQ7Y1BaJdmtXdhWVKMRZ7KyKXAWXS05kOu5ib1Tr DuJt6IHcu+M6eIf0IIPpUCXI2ajWHabs/K3DLxOKskra2XUh2iJKGMqlTW2jOBz2MzY3 DQlw== X-Gm-Message-State: AOAM530yyScjI40yxGQ78OX3sMluT3skA/TiARUERLmTTbH+sBnaNekf Jt5MuadyQsVUL2AUn4ttL/NcNw== X-Google-Smtp-Source: ABdhPJwzdwfWcdgYspPq+PJqmDH623F9s5qmhQ9FLuA7x9xR5Nnc3d9XdnckstJJpktKOYz6HfRJWw== X-Received: by 2002:a63:141d:0:b0:342:585e:a519 with SMTP id u29-20020a63141d000000b00342585ea519mr18295988pgl.257.1646068146173; Mon, 28 Feb 2022 09:09:06 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id lk9-20020a17090b33c900b001bc7c2dfcdbsm11528070pjb.37.2022.02.28.09.09.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 09:09:05 -0800 (PST) Date: Mon, 28 Feb 2022 09:09:03 -0800 From: Stephen Hemminger To: Reshma Pattan Cc: dev@dpdk.org, ferruh.yigit@intel.com, vipin.varghese@intel.com, stable@dpdk.org Subject: Re: [PATCH v4] app/pdump: check lcore is not the maximum core Message-ID: <20220228090903.250a492f@hermes.local> In-Reply-To: <20220228095856.58563-1-reshma.pattan@intel.com> References: <20220222110224.56857-1-reshma.pattan@intel.com> <20220228095856.58563-1-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, 28 Feb 2022 09:58:56 +0000 Reshma Pattan wrote: > Check lcore id value is not the maximum core supported. > Using lcore id without this check might cause > out of bound access inside the rte_eal_wait_lcore. > > Coverity issue: 375841 > Fixes: b2854d5317e8 ("app/pdump: support multi-core capture") > Cc: vipin.varghese@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Reshma Pattan Great thanks. Acked-by: Stephen Hemminger