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 304ECA0350 for ; 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 2AD7140140; Mon, 28 Feb 2022 18:09:08 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id D896D40140 for ; Mon, 28 Feb 2022 18:09:06 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id 27so12076739pgk.10 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=2uSsvNk3kTrHm4m5VT8/r5lC2plxaGZW8n4ffkvqd+eaabf16kf+jcIeyv7LrL15Hn HZi5rZy/13ShPRa/9cm9V002Vjc7eDT0O2T4UxlXztpIK/6HKcDIiCwFjqZnNS3ku23F TkaK9Nqi1kztH/DpQ/qf8cp1W5uvoriRjwm86NumYkakNQHpxACMBZb3Huu7y/gbZotM BO0MVXsZuhlafpH4xPE2/8ZDIw/Wbq9Ax+PWjRcotpL9hu+kdbbfyL/4D1+3cd2mauii gToJZ5oyz/or9N6GhqPI1G0u0lPHXwVXe+M9CB9kTAosYHM7wLD0HBcg41e2rz8bEqio lTNA== X-Gm-Message-State: AOAM530N+Dp73Vj0E9MT35fsgxbBKy3zauHWdVv9DzdnqwWRDDzSLe+O cMSGQZ0+Ksx3owv/5QYHKyFDycL4D2c04XrL 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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