fe5f777b53
In function ‘pci_get_kernel_driver_by_path’,
inlined from ‘pci_scan_one.isra.1’ at
drivers/bus/pci/linux/pci.c:317:8:
drivers/bus/pci/linux/pci.c:57:3: error:
‘strncpy’ specified bound depends on the length of the source argument
[-Werror=stringop-overflow=]
strncpy(dri_name, name + 1, strlen(name + 1) + 1);
Fixes:
|
||
---|---|---|
.. | ||
bsd | ||
linux | ||
Makefile | ||
meson.build | ||
pci_common_uio.c | ||
pci_common.c | ||
private.h | ||
rte_bus_pci_version.map | ||
rte_bus_pci.h |