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 3E6AEA0561 for ; Thu, 4 Mar 2021 11:39:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31CC040147; Thu, 4 Mar 2021 11:39:28 +0100 (CET) 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 799B840147 for ; Thu, 4 Mar 2021 11:39:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614854366; 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=09EzrQ/8ytxGWC3Ta7osLZLNRCju+2bSlWAsrsWyDXw=; b=g2w4XWCt7H06xe+tHVg2UraC72G64518f9zwBI9E4xtkbSBliGdGfjUpBQfkhI5+Df8AaH BCeWhIGuli0TwWgMZQP2cM4WtBTHHgWCT6vgMzuGbxvrtytj+1XZ95vY/zm28vm/DutINf wyjo/bSkSHXvpiHlpzaLrWmEZJ9/JS8= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-347-L2wq7taOPbSJqByw5hLe7A-1; Thu, 04 Mar 2021 05:39:24 -0500 X-MC-Unique: L2wq7taOPbSJqByw5hLe7A-1 Received: by mail-vk1-f197.google.com with SMTP id e188so7454848vke.18 for ; Thu, 04 Mar 2021 02:39:24 -0800 (PST) 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=09EzrQ/8ytxGWC3Ta7osLZLNRCju+2bSlWAsrsWyDXw=; b=VCmPxeEdOO8A3W1fWfX5WoqHXc6pQ06uglwPINGoylSlyxrkXrqEYxKiK1d1weZQF9 dBAbQ3iCcolagV2qmBh7ZLyNyZH5gKYGFw0AKREveKBMRzVM4eLyck6jcmA0Yo/OdbQP jVlKztiuWkPi6egRWNPfWyV3jSINopElcmUXuGiMiICaWwJAq5pWijfJh0EEb+rugYGj bz85RJgwFW9q7eOvY7EPeHbkXN0BXLuoPGUbrhY6R+XXy+xWgqKnrvhq3XXg0F9/arsN eSDsPssrmSKATuvwBVaT/ISUk+G6QanGGilHLceYPqXBN63273d+Iyeq12jXrQXjgfll 7/iw== X-Gm-Message-State: AOAM530P07BBFDMWOlb4aenetltCsDfmBhHBYeM42ZNID8T3Zb9TVVOL YeUnXGiXp5jhNDVY0oSndlCO323T5JBNldSN7wk2igwHisSnjN6/qcjV8cs9yI8XDZ5Y+p5px6M 4WqfZKyMajoRJLmOQO8MR00E= X-Received: by 2002:ab0:1849:: with SMTP id j9mr1710384uag.41.1614854363992; Thu, 04 Mar 2021 02:39:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmPvrQRL6lXxQLBlMYCu9VMTRXA4ndYULcIOKwotwvSw0tBVUjmyrouw57hBVMOAgYSnooGORqgRckLL/FXfo= X-Received: by 2002:ab0:1849:: with SMTP id j9mr1710382uag.41.1614854363844; Thu, 04 Mar 2021 02:39:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Thu, 4 Mar 2021 11:39:12 +0100 Message-ID: To: Anatoly Burakov Cc: dev , dpdk stable , Andrew Boyer 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-stable] [dpdk-dev] [PATCH] fbarray: fix uninitialized variable usage 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 Sender: "stable" On Fri, Feb 19, 2021 at 6:55 PM Anatoly Burakov wrote: > > When file truncation fails, the log message attempts to print a path of > file we failed to truncate, but this path was never set to anything and, > what's worse, was uninitialized. Fix it by passing path from the caller. > Coverity issue: 366122 > Fixes: c44d09811b40 ("eal: add shared indexed file-backed array") > Cc: stable@dpdk.org Reported-by: Andrew Boyer > Signed-off-by: Anatoly Burakov Reviewed-by: David Marchand Applied, thanks. -- David Marchand