[PATCH v1] bus/ifpga: fix issue of accessing null address
Thomas Monjalon
thomas at monjalon.net
Mon Mar 20 16:56:29 CET 2023
> > In function ifpga_scan_one(), variable 'path' is NULL if device argument 'afu_bts' is
> > not set, subsequent string copy with 'path' would lead to segmentation fault.
> >
> > Fixes: 6fa4aa2b3645 ("bus/ifpga: fix forcing optional devargs")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Wei Huang <wei.huang at intel.com>
>
> It looks good for me.
> Acked-by: Tianfei Zhang <tianfei.zhang at intel.com>
Applied, thanks.
More information about the stable
mailing list