Public bug reported:

valgrind detects an uninitialised read on a value:

==29818== Conditional jump or move depends on uninitialised value(s)
==29818==    at 0x40C5072: AcpiHwDerivePciId (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40B390F: AcpiEvPciConfigRegionSetup (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40B2596: AcpiEvAddressSpaceDispatch (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40B6D6E: AcpiExAccessRegion (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40B75BE: ??? (in /usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40B7D64: AcpiExWriteWithUpdateRule (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40B72D0: AcpiExInsertIntoField (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40B6769: AcpiExWriteDataToField (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40BEFF5: AcpiExStoreObjectToNode (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40BF1B5: AcpiExStore (in /usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40BA30F: AcpiExOpcode_1A_1T_1R (in 
/usr/lib/libfwtsacpica.so.1.0.0)
==29818==    by 0x40AAD04: AcpiDsExecEndOp (in /usr/lib/libfwtsacpica.so.1.0.0)

This is because the stubbed version of AcpiOsReadPciConfiguration() does
nothing.  Need to re-write AcpiOsReadPciConfiguration() to fake some
returned PCI config data.

** Affects: fwts (Ubuntu)
     Importance: Low
     Assignee: Colin King (colin-king)
         Status: In Progress

** Changed in: fwts (Ubuntu)
       Status: New => In Progress

** Changed in: fwts (Ubuntu)
   Importance: Undecided => Low

** Changed in: fwts (Ubuntu)
     Assignee: (unassigned) => Colin King (colin-king)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/813376

Title:
  fwts: AcpiHwDerivePciId() operates on uninitilised value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/813376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to