freebsd-dev/usr.sbin/pciconf
Stefan Eßer a28a4d77b6 Fix possible out-of-bounds access detected by Ulrich Spörleins "scan-build".
Some invalid PCI device selectors could cause read access to an initialized
variable next to the array (local loop index variable).

While here, the parser has been made more strict with regard to the syntax
of PCI device selectors as documented in the man-page. E.g. "pci:" used to
be interpreted as "pci0:0".

MFC after:	3 days
2016-02-19 14:01:35 +00:00
..
cap.c Use __unused instead of casting to void to silence the unused parameter 2016-02-18 20:20:36 +00:00
err.c Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
Makefile Make WARNS=6 safe. 2016-02-18 15:23:25 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
pathnames.h Prefer pciids database from ports if present 2015-09-06 20:05:29 +00:00
pciconf.8 Add a new -B flag for use with list mode (-l) that lists details about 2015-11-23 23:48:07 +00:00
pciconf.c Fix possible out-of-bounds access detected by Ulrich Spörleins "scan-build". 2016-02-19 14:01:35 +00:00
pciconf.h Teach pciconf how to dump out SR-IOV capability 2015-03-01 00:59:35 +00:00