opnsense-src/sys/dev/pci
Conrad Meyer fadd3f8a66 pci_ioctl: Avoid returning uninitialized error value if user provided empty buffer
In the weird case where the user-provided buffer was zero bytes, we could break
out of PCIOCGETCONF and return without initializing error.  In this case,
initialize error to zero -- we successfully did nothing, as requested.

Reported by:	Coverity
Sponsored by:	Dell EMC Isilon
2018-03-01 01:49:36 +00:00
..
fixup_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hostb_pci.c Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
ignore_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
isa_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pci.c Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pci_host_generic.c
pci_host_generic.h Remove redundant declarations. Newer gcc has a warning for these so will 2017-08-19 17:18:27 +00:00
pci_host_generic_fdt.c
pci_host_generic_fdt.h
pci_if.m Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pci_iov.c
pci_iov.h
pci_iov_if.m
pci_iov_private.h
pci_iov_schema.c
pci_pci.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
pci_private.h Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pci_subr.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pci_user.c pci_ioctl: Avoid returning uninitialized error value if user provided empty buffer 2018-03-01 01:49:36 +00:00
pcib_if.m
pcib_private.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pcib_support.c
pcireg.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pcivar.h Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
schema_private.h
vga_pci.c Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00