fwts: acpidump needs to check for zero length headers to stop segfaulting
Bug #1375300 reported by
Colin Ian King
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.
Related branches
Changed in fwts: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix sent to mailing list for review: https:/ /lists. ubuntu. com/archives/ fwts-devel/ 2014-September/ 005428. html