[dpdk-stable] [dpdk-dev] [PATCH] fbarray: fix uninitialized variable usage

David Marchand david.marchand at redhat.com
Thu Mar 4 11:39:12 CET 2021


On Fri, Feb 19, 2021 at 6:55 PM Anatoly Burakov
<anatoly.burakov at intel.com> 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 at dpdk.org

Reported-by: Andrew Boyer <aboyer at pensando.io>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>


Applied, thanks.

-- 
David Marchand



More information about the stable mailing list