[PATCH 0/2] Make acpidump parser more robust (LP: #1471202)

Colin King colin.king at canonical.com
Fri Jul 3 12:57:08 UTC 2015


From: Colin Ian King <colin.king at canonical.com>

Alex found an issue with the acpidump parser when it was
given incorrectly formmated input.  These two patches fix the
parser and make it more robust as well as reporting issues about
the malformed data too. 

After fixing this, it found lots of cut-n-paste errors in the
acpi table tests, so these need fixing too. 

Colin Ian King (2):
  lib: make acpidump parser more robust (LP: #1471202)
  fwts-test: fix hand crafted acpidump data

 fwts-test/bert-0001/acpidump-0001.log |  2 +-
 fwts-test/bert-0001/acpidump-0002.log |  2 +-
 fwts-test/bgrt-0001/acpidump-0001.log |  2 +-
 fwts-test/bgrt-0001/acpidump-0002.log |  2 +-
 fwts-test/boot-0001/acpidump-0001.log |  2 +-
 fwts-test/boot-0001/acpidump-0002.log |  2 +-
 fwts-test/cpep-0001/acpidump-0001.log |  2 +-
 fwts-test/cpep-0001/acpidump-0002.log |  2 +-
 fwts-test/csrt-0001/acpidump-0001.log |  2 +-
 fwts-test/csrt-0001/acpidump-0002.log |  2 +-
 fwts-test/dbg2-0001/acpidump-0001.log |  3 +-
 fwts-test/dbg2-0001/acpidump-0002.log |  3 +-
 fwts-test/dbgp-0001/acpidump-0001.log |  2 +-
 fwts-test/dbgp-0001/acpidump-0002.log |  2 +-
 fwts-test/erst-0001/acpidump-0001.log |  4 +-
 fwts-test/erst-0001/acpidump-0002.log |  4 +-
 fwts-test/hest-0001/acpidump-0001.log |  2 +-
 fwts-test/hest-0001/acpidump-0002.log |  2 +-
 fwts-test/lpit-0001/acpidump-0001.log |  2 +-
 fwts-test/lpit-0001/acpidump-0002.log |  2 +-
 fwts-test/msdm-0001/acpidump-0001.log |  2 +-
 fwts-test/msdm-0001/acpidump-0002.log |  2 +-
 fwts-test/sbst-0001/acpidump-0001.log |  2 +-
 fwts-test/sbst-0001/acpidump-0002.log |  2 +-
 fwts-test/slic-0001/acpidump-0001.log |  2 +-
 fwts-test/slic-0001/acpidump-0002.log |  2 +-
 fwts-test/slit-0001/acpidump-0001.log |  2 +-
 fwts-test/slit-0001/acpidump-0002.log |  2 +-
 fwts-test/spcr-0001/acpidump-0001.log |  2 +-
 fwts-test/spcr-0001/acpidump-0002.log |  2 +-
 fwts-test/srat-0001/acpidump-0001.log |  2 +-
 fwts-test/srat-0001/acpidump-0002.log |  2 +-
 fwts-test/tcpa-0001/acpidump-0001.log |  2 +-
 fwts-test/tcpa-0001/acpidump-0002.log |  2 +-
 fwts-test/waet-0001/acpidump-0001.log |  2 +-
 fwts-test/waet-0001/acpidump-0002.log |  2 +-
 fwts-test/waet-0001/acpidump-0003.log |  2 +-
 fwts-test/wmi-0001/acpidump-0002.log  |  2 +-
 fwts-test/wmi-0001/acpidump-0003.log  |  6 +--
 src/lib/src/fwts_acpi_tables.c        | 95 +++++++++++++++++++++++++++++------
 40 files changed, 123 insertions(+), 60 deletions(-)

-- 
2.1.4




More information about the fwts-devel mailing list