Public bug reported:

ACPI Tables with ASF! segfaults:

fwts --dumpfile=acpidump.log acpidump
Running 1 tests, results appended to results.log
Test: Dump ACPI tables.
Segmentation fault (core dumped)

See attached ACPI tables.

The bug is because acpidump_asf() asf_header_fields does not contain a
NULL terminator FIELD_END macro and we run off the end of the table.

** Affects: fwts (Ubuntu)
     Importance: Medium
     Assignee: Colin King (colin-king)
         Status: In Progress

** Attachment added: "acpidump.log"
   
https://bugs.launchpad.net/bugs/1188209/+attachment/3696391/+files/acpidump.log

** Changed in: fwts (Ubuntu)
       Status: New => In Progress

** Changed in: fwts (Ubuntu)
   Importance: Undecided => Medium

** Changed in: fwts (Ubuntu)
     Assignee: (unassigned) => Colin King (colin-king)

** Description changed:

- ACPI Tables with ASF! segault:
+ ACPI Tables with ASF! segfaults:
  
- fwts --dumpfile=acpidump.log acpidump 
+ fwts --dumpfile=acpidump.log acpidump
  Running 1 tests, results appended to results.log
- Test: Dump ACPI tables.                                                     
- Segmentation fault (core dumped) 
+ Test: Dump ACPI tables.
+ Segmentation fault (core dumped)
  
  See attached ACPI tables.
  
  The bug is because acpidump_asf() asf_header_fields does not contain a
  NULL terminator FIELD_END macro and we run off the end of the table.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188209

Title:
  fwts: acpidump on ASF! tables segfaults

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/1188209/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to