mbox series

[v2,0/2] raw/ifpga: fix coverity defects

Message ID 1604017294-23479-1-git-send-email-wei.huang@intel.com (mailing list archive)
Headers show
Series raw/ifpga: fix coverity defects | expand

Message

Wei Huang Oct. 30, 2020, 12:21 a.m. UTC
These two patches fix defects found by coverity scan.

Main changes from v2:
- Fix coding style issue

Wei Huang (2):
  raw/ifpga: terminate string filled by readlink with null
  raw/ifpga: use trusted buffer to free

 drivers/raw/ifpga/ifpga_rawdev.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Comments

Zhang, Qi Z Nov. 2, 2020, 12:23 p.m. UTC | #1
> -----Original Message-----
> From: Huang, Wei <wei.huang@intel.com>
> Sent: Friday, October 30, 2020 8:22 AM
> To: dev@dpdk.org; Xu, Rosen <rosen.xu@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Cc: Huang, Wei <wei.huang@intel.com>
> Subject: [PATCH v2 0/2] raw/ifpga: fix coverity defects
> 
> These two patches fix defects found by coverity scan.
> 
> Main changes from v2:
> - Fix coding style issue
> 
> Wei Huang (2):
>   raw/ifpga: terminate string filled by readlink with null
>   raw/ifpga: use trusted buffer to free
> 
>  drivers/raw/ifpga/ifpga_rawdev.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> --
> 2.7.3


Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi