- Update to version 21.01.00:
* See provided changelog for detailed list of changes - Drop upstreamed patch: * acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=120
This commit is contained in:
parent
a21cb6636a
commit
2a294eb600
@ -1,36 +0,0 @@
|
||||
Index: fwts-20.12.00/src/acpi/pmtt/pmtt.c
|
||||
===================================================================
|
||||
--- fwts-20.12.00.orig/src/acpi/pmtt/pmtt.c
|
||||
+++ fwts-20.12.00/src/acpi/pmtt/pmtt.c
|
||||
@@ -117,6 +117,14 @@ static void pmtt_controller_test(fwts_fr
|
||||
offset += sizeof(fwts_acpi_table_pmtt_domain) * entry->domain_count;
|
||||
header = (fwts_acpi_table_pmtt_header *) (((char *) entry) + offset);
|
||||
while (offset < entry->header.length) {
|
||||
+
|
||||
+ if (header->length == 0) {
|
||||
+ fwts_failed(fw, LOG_LEVEL_CRITICAL,
|
||||
+ "PMTTBadSubtableLength",
|
||||
+ "PMTT Controller has a subtable with zero length");
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
if (header->type == FWTS_ACPI_PMTT_TYPE_DIMM) {
|
||||
pmtt_physical_component_test(fw, (fwts_acpi_table_pmtt_physical_component *) header, passed);
|
||||
} else {
|
||||
@@ -145,7 +153,16 @@ static void pmtt_socket_test(fwts_framew
|
||||
|
||||
offset = sizeof(fwts_acpi_table_pmtt_socket);
|
||||
header = (fwts_acpi_table_pmtt_header *) (((char *) entry) + offset);
|
||||
+
|
||||
while (offset < entry->header.length) {
|
||||
+
|
||||
+ if (header->length == 0) {
|
||||
+ fwts_failed(fw, LOG_LEVEL_CRITICAL,
|
||||
+ "PMTTBadSubtableLength",
|
||||
+ "PMTT Socket has a subtable with zero length");
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
if (header->type == FWTS_ACPI_PMTT_TYPE_CONTROLLER) {
|
||||
pmtt_controller_test(fw, (fwts_acpi_table_pmtt_controller *) header, passed);
|
||||
} else {
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca99747ab027b20e3dc48633ea497c3e7f0445ba113cad52541590f3c74b3350
|
||||
size 3846526
|
3
fwts-V21.01.00.tar.gz
Normal file
3
fwts-V21.01.00.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a355bc0ad3d73759ff7c495bc1f702165128e035f9618bcf56a7f2d4a7b3314c
|
||||
size 3846263
|
@ -1,6 +1,8 @@
|
||||
--- fwts-20.11.00/src/acpica/source/tools/acpiexec/aecommon.h 2020/11/27 15:57:25 1.1
|
||||
+++ fwts-20.11.00/src/acpica/source/tools/acpiexec/aecommon.h 2020/11/27 15:57:41
|
||||
@@ -201,11 +201,18 @@
|
||||
Index: fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
|
||||
===================================================================
|
||||
--- fwts-21.01.00.orig/src/acpica/source/tools/acpiexec/aecommon.h
|
||||
+++ fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
|
||||
@@ -201,11 +201,18 @@ typedef struct init_file_entry
|
||||
|
||||
} INIT_FILE_ENTRY;
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 22 09:30:24 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Update to version 21.01.00:
|
||||
* See provided changelog for detailed list of changes
|
||||
- Drop upstreamed patch:
|
||||
* acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 18 08:25:34 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: fwts
|
||||
Version: 20.12.00
|
||||
Version: 21.01.00
|
||||
Release: 0
|
||||
Summary: Firmware Test Suite
|
||||
License: GPL-2.0-or-later
|
||||
@ -28,8 +28,6 @@ Source0: https://fwts.ubuntu.com/release/%{name}-V%{version}.tar.gz
|
||||
Patch1: fwts-no-compiletime.patch
|
||||
# PATCH-FIX-OPENSUSE fwts-fix-non-acpi.patch
|
||||
Patch2: fwts-fix-non-acpi.patch
|
||||
# PATCH-FIX-UPSTREAM acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff
|
||||
Patch3: acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
|
Loading…
Reference in New Issue
Block a user