fwts: syntaxcheck can segfault when fwts_iasl_reassemble returns an NULL list of error text

Bug #805980 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 syntaxcheck test can segfault when running with the -q option against some ACPI tables. We need to check that fwts_iasl_reassemble returns a NULL list before trying to parse the output for errors.

Attached is a ACPI table dump that will trip the bug.

To reproduce, run with: fwts -q --dumpfile=AcpiTables.txt syntaxcheck -

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

Fixed, commit 10ef4da95b6b23554b8b87dad58555cb5b3eec25

Changed in fwts (Ubuntu):
status: In Progress → Fix Committed
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.