mbox series

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

Message ID 1604043307-20730-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, 7:35 a.m. UTC
These two patches fix defects found by coverity scan.

Main changes from v3:
- Add coverity issue number

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(-)