pci: allocate and set length pci product name 21/34321/3
authorRay Kinsella <mdr@ashroe.eu>
Wed, 3 Nov 2021 09:13:41 +0000 (09:13 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Wed, 3 Nov 2021 17:25:20 +0000 (17:25 +0000)
commit03d0fbe3c11c8d21c347979e30b7bdcf232536aa
tree4fba98a28cdb151dfba6cea4d89cf81871b468ec
parent4739c8833e2e8013417ef0e52610d8b310e97a93
pci: allocate and set length pci product name

Original fix for this issue, allocated sufficent memory but didn't set the
vector length correctly.

Type: fix
Fixes: 7d0ca6af0

Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Change-Id: I3c8ce310d7a6266840a2d8d6b8620254acd042ab
src/vlib/linux/pci.c