From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B11D1C433ED for ; Mon, 10 May 2021 13:27:30 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 36A406128D for ; Mon, 10 May 2021 13:27:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 36A406128D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2BD8C40147; Mon, 10 May 2021 15:27:29 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id E3BB64003E for ; Mon, 10 May 2021 15:27:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620653247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mYNCBXJUn+HZR39bvpAy2hoJvt6OSAine3d8uJu2xYU=; b=YOH1aESscJWJI9Geh3b/i4Q4m3UO4l+6YixUsfdgLIkJszk0B1J+u0Dt1RWIpoVEJ75MXe ABffln62B/4N2w9AhQkBUdeIBo7qm0MAwR9VA+IgZUtK8SQqQzTq98XkjpI9hXascLE2o9 hJC6L3CwciycOCiBnnlR5XG42zZ+ctE= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-189-XqpSABSbNA22wFyp-GyW5w-1; Mon, 10 May 2021 09:27:23 -0400 X-MC-Unique: XqpSABSbNA22wFyp-GyW5w-1 Received: by mail-vs1-f72.google.com with SMTP id z7-20020a67ca070000b0290220c083d3acso8110694vsk.21 for ; Mon, 10 May 2021 06:27:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mYNCBXJUn+HZR39bvpAy2hoJvt6OSAine3d8uJu2xYU=; b=K6qRr9Sj0UMvlUuKDoCoTp4Ptdyt0S/MwSGW/RmhCqAc/iFX/mi6zGoZkARmJLfuuX MR4e3G9gzGojHGYCND4VLL35YYiRKdA480yEKYdtlq9XahIR6VGU8mLoJ5K6lQGy5ZGx yay2XEdnahQb/1fzvZlgFBhpKgbRAVqgYWJBexCq5iQdC34zqRHR4yT7veXSb+mLqbVS OxIyEpKndk0CTDoY8lW0rgpx4Oju8tyvjBwZK467DuFMl5Ar6Ik/5WHdQK8SKNt9nA5b IUO1A0NB0BB+RGllPT8/VN7bGoD37T2FirnPhC940QgO98H/7cLiN775okVkyVIk6JHp ba/Q== X-Gm-Message-State: AOAM530SsEI5gOO+Nkb+0Nrc6Zj8HORmVqZhYaSpIk35kzDybF9NpyOs 8X9wL4h1jl512ZNH8digGyDjPBPrT0xxbA4Tz84B4rRI4rLRzBsFFowhqFXhBokqS0OcVJLJchi J4QteKjA1dOwMa0kqYv8= X-Received: by 2002:a67:6b41:: with SMTP id g62mr19318187vsc.5.1620653242917; Mon, 10 May 2021 06:27:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDOXEIg6X9rNk9VmF/+Gfj+FpDkzsM3JtCf7mnxQq5WdSSNq4jddgKPacutpm1eJcTRmdOH/CCBMtg6QiULsw= X-Received: by 2002:a67:6b41:: with SMTP id g62mr19318157vsc.5.1620653242760; Mon, 10 May 2021 06:27:22 -0700 (PDT) MIME-Version: 1.0 References: <1619092340-4047-1-git-send-email-humin29@huawei.com> <1620285387-42792-1-git-send-email-humin29@huawei.com> <1620285387-42792-3-git-send-email-humin29@huawei.com> In-Reply-To: <1620285387-42792-3-git-send-email-humin29@huawei.com> From: David Marchand Date: Mon, 10 May 2021 15:27:10 +0200 Message-ID: To: "Min Hu (Connor)" Cc: dev , "Yigit, Ferruh" , Thomas Monjalon , Jerin Jacob Kollanukkaran , Kiran Kumar Kokkilagadda Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 2/2] graph: fix dereferencing null pointer 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 Sender: "dev" On Thu, May 6, 2021 at 9:16 AM Min Hu (Connor) wrote: > > From: HongBo Zheng > > In function 'stats_mem_init', pointer 'stats' should > be confirmed not null before memset it. > > Fixes: af1ae8b6a32c ("graph: implement stats") > Cc: stable@dpdk.org > > Signed-off-by: HongBo Zheng > Signed-off-by: Min Hu (Connor) Reviewed-by: David Marchand -- David Marchand