Bug 205948 - lspci: pci_lookup_name: buffer too small
Summary: lspci: pci_lookup_name: buffer too small
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pciutils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-10 18:15 UTC by Milan Kerslager
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: pciutils-2.2.4-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-26 13:30:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Milan Kerslager 2006-09-10 18:15:19 UTC
On Foxconn Intel 915P7AD motherboard:

# lspci
[...]
01:05.0 Mass storage controller: <pci_lookup_name: buffer too small> (rev 13)
[...]

# lspci -n | grep 01:05.0
01:05.0 0180: 1283:8212 (rev 13)

Comment 1 Harald Hoyer 2006-09-25 13:43:58 UTC
seems like they hardcoded the name length to 128 in pciutils and 1283:8212 in
/usr/share/hwdata/pci.ids is:
1283  Integrated Technology Express, Inc.
        8212  IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to
be IT8212, embedded seems to be ITE8212)

which is too long... I will eventually raise the name length


Note You need to log in before you can comment on or make changes to this bug.