← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 681207] [NEW] PCI device header type doesn't include bit7

 

Public bug reported:

Within the function pci_device_get_bridge_buses() in file
common_bridge.c, "priiv->header_type" is used to detect the bridge type
without bit 7 (indicating multi-function or not) stripped. As a result
the detection would always fail for multi-function card. I see this
error in both versions 0.10.6 and 0.12.0.

Beside this problem, version 0.12.0 has a pointer check
"priv->bridge.pci" upon fuction entrance and just return "ENODEV" if it
is null. The problem is that the pointer never got initialized in the
first place and will always be null. This checking should be removed.

** Affects: libpciaccess (Ubuntu)
     Importance: Undecided
         Status: New

-- 
PCI device header type doesn't include bit7
https://bugs.launchpad.net/bugs/681207
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libpciaccess in ubuntu.



Follow ups

References