Comment 10 for bug 1527460

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

[SRU Justification][Trusty]

fwts segfaults because the ASPM test on this machine is returning no ACPI tables and the test is not checking for a NULL table and hence dereferencing it causing the segfault While debugging this I also noticed that if /dev/mem is not available then two /dev/mem mmaps may also cause a segfault, so I've added fixes for this too.

[Fix]
Upstream fix 9992dcca169282ab967177cc8bdac94eee66c93
https://lists.ubuntu.com/archives/fwts-devel/2015-December/007215.html
https://lists.ubuntu.com/archives/fwts-devel/2015-December/007217.html

[Testcase]
Run fwts on a system without ACPI tables. Will segfault. With the fix, it runs w/o a segfault