> -Original Message-
> From: Pei, Andy
> Sent: Wednesday, April 17, 2019 15:16
> To: dev@dpdk.org
> Cc: Pei, Andy ; Xu, Rosen ;
> Kovacevic, Marko ; liq...@163.com;
> sta...@dpdk.org
> Subject: [PATCH v2] raw/ifpga_rawdev: fix fd leak in rte fpga do pr
>
> In rte_fpga_do_pr() function,
In rte_fpga_do_pr() function, if 'stat' returns error,
rte_fpga_do_pr() returns -EINVAL without closing the
'file_fd' that has been opened.
After this patch, 'file_fd' is closed before rte_fpga_do_pr()
returns -EINVAL when 'stat' returns error
Coverity issue: 279441
Fixes: ef1e8ede3da5 ("raw/ifpga
2 matches
Mail list logo