Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raw/ifpga: terminate string filled by readlink with null
[ upstream commit 5a90690 ] readlink() does not terminate string, add a null character at the end of the string if readlink() succeeds. Coverity issue: 362820 Fixes: 9c006c4 ("raw/ifpga: scan PCIe BDF device tree") Signed-off-by: Wei Huang <wei.huang@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information