fwts: method test on _DOD methods that return a NULL object can cause segfaults

Bug #816824 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fwts (Ubuntu)
Fix Released
Medium
Colin Ian King

Bug Description

The fwts method test when executing AML code on a broken _DOD method attempts to dereference a NULL ACPI object which can segfault. Fix is to only sanity check _DOD return objects when non-null.

Related branches

Revision history for this message
Colin Ian King (colin-king) wrote :

Fix committed on commit 3b0d8583c9aae70393c52a60e1602d2b606f4494

Changed in fwts (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Colin King (colin-king)
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fwts - 0.23.13

---------------
fwts (0.23.13) oneiric; urgency=low

  * lib + method test: better handling of object eval errors. (LP: #816877)
  * apci: method: detect zero sized access bit width (LP: #816877)
  * acpi: method: check for NULL _DDC and _UID object returns.
  * acpi: method: only derefernce non-null _DOD objects (LP: #816824)
  * lib: acpica: make hash unsigned int (LP: #816819)
  * acpi: syntaxcheck: don't erroneously put syntaxcheck_table.
  * cmosdump: print drive info with %hhu and pluralise.
  * mpcheck: print uint8_t values with %hhu
  * mtrr: print entry reg as uint8_t.
  * bios32: print bios32 values in hex.
  * fadt: ensure we print out preferred_pm_profile as 8 bit int.
  * acpitables: ensure we are printing out correct int values.
  * acpi: wmi: fix typo in test identifier.

fwts (0.23.12) oneiric; urgency=low

  * lib + tests: add unique test label that identifies each failure test.
  * lib + tests: replace fwts_failed_low with fwts_failed.
  * lib + tests: replace fwts_failed_medium with fwts_failed.
  * lib + tests: replace fwts_failed_high with fwts_failed.
  * lib + tests: replace fwts_failed_critical with fwts_failed.
  * lib: remove fwts_failed_level macro
  * lib + tests: fwts_failed now includes log level.
  * lib: fix ARM FTBFS (LP: #814745)
  * apcica lib: fake PCI config reads (LP: #813376)
 -- Colin King <email address hidden> Wed, 27 Jul 2011 14:17:23 +0100

Changed in fwts (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.