numam-dpdk/lib
Gaetan Rivet 21a61fae51 pci: reject negative values in PCI id
The function strtoul will not return ERANGE if the input is negative, as
one might expect.

   0000:-FFFFFFFFFFFFFFFB:00.0

is not a better way to write 0000:05:00.0.
To simplify checking for '-', forbid using spaces before the field value.

   0000: 00:   2c.0

Should not be accepted.

Fixes: af75078fec ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Gaetan Rivet <grive@u256.net>
Acked-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2020-05-19 11:18:38 +02:00
..
librte_acl
librte_bbdev bbdev: fix doxygen comments 2020-05-11 13:17:43 +02:00
librte_bitratestats
librte_bpf
librte_cfgfile
librte_cmdline
librte_compressdev
librte_cryptodev cryptodev: fix ABI compatibility for ChaCha20-Poly1305 2020-05-11 13:17:43 +02:00
librte_distributor
librte_eal eal: fix C++17 compilation 2020-05-18 20:46:24 +02:00
librte_efd
librte_ethdev doc: refine ethernet and VLAN flow rule items 2020-05-11 22:27:39 +02:00
librte_eventdev eventdev: fix probe and remove for secondary process 2020-05-02 12:31:57 +02:00
librte_fib
librte_flow_classify
librte_graph
librte_gro
librte_gso
librte_hash hash: fix gcc 10 maybe-uninitialized warning 2020-05-18 13:54:36 +02:00
librte_ip_frag
librte_ipsec ipsec: check SAD lookup error 2020-05-11 13:17:43 +02:00
librte_jobstats
librte_kni
librte_kvargs kvargs: fix invalid token parsing on FreeBSD 2020-05-06 15:22:19 +02:00
librte_latencystats
librte_lpm
librte_mbuf
librte_member
librte_mempool trace: simplify trace point headers 2020-05-06 13:50:32 +02:00
librte_meter
librte_metrics telemetry: remove redundant code 2020-05-11 00:37:16 +02:00
librte_net
librte_node node: fix arm64 build with old gcc 2020-05-13 15:38:50 +02:00
librte_pci pci: reject negative values in PCI id 2020-05-19 11:18:38 +02:00
librte_pdump
librte_pipeline
librte_port
librte_power
librte_rawdev eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
librte_rcu
librte_reorder
librte_rib
librte_ring ring: fix build for gcc O1 optimization 2020-05-11 19:20:54 +02:00
librte_sched
librte_security
librte_stack
librte_table
librte_telemetry telemetry: fix error log output 2020-05-11 18:58:14 +02:00
librte_timer
librte_vhost vhost: handle mbuf allocation failure 2020-05-18 20:35:57 +02:00
Makefile eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
meson.build eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00