fwts: acpidump: FPDT gets stuck in infinite loop when FPDT data lies about the record length
Bug #1375258 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
Section 5.2.23.4 and 5.2.23.5 Performance Record Formats of the ACPI specification states that the length field is 16 for these two record types. Currently fwts believes this data from the firmware, however, some firmware has been known to set this to zero causing fwts to loop on the dumping of multiple records.
fwts should instead not trust this field and assume it is 16 bytes; anything smaller should be dumped out as a hex dump, otherwise it can be dumped correctly.
Related branches
Changed in fwts: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
summary: |
- fwts: FPDT gets stuck in infinite loop when FPTD data lies about the + fwts: FPDT gets stuck in infinite loop when FPDT data lies about the record length |
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/ 005427. html