fwts: acpidump needs to check for zero length headers to stop segfaulting

Bug #1375300 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
High
Colin Ian King

Bug Description

There are a bunch of places in fwts acpidump that takes the given table header sizes and sub-table sizes as given, however, firmware can get this wrong.

So bail out early on bad looking header sizes rather than believe the data and fall off the end of the table.

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

Fix committed, commit 8e89111de09541be9e41316e7dfa79c3583c6e3d

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