Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
50
sources/poky/meta/recipes-extended/acpica/acpica_20240322.bb
Normal file
50
sources/poky/meta/recipes-extended/acpica/acpica_20240322.bb
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY = "ACPICA tools for the development and debug of ACPI tables"
|
||||
DESCRIPTION = "The ACPI Component Architecture (ACPICA) project provides an \
|
||||
OS-independent reference implementation of the Advanced Configuration and \
|
||||
Power Interface Specification (ACPI). ACPICA code contains those portions of \
|
||||
ACPI meant to be directly integrated into the host OS as a kernel-resident \
|
||||
subsystem, and a small set of tools to assist in developing and debugging \
|
||||
ACPI tables."
|
||||
|
||||
HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html"
|
||||
SECTION = "console/tools"
|
||||
|
||||
LICENSE = "Intel | BSD-3-Clause | GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=05eb845b15a27440410f456adc2ed082"
|
||||
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
|
||||
|
||||
DEPENDS = "m4-native flex-native bison-native"
|
||||
|
||||
SRC_URI = "git://github.com/acpica/acpica;protocol=https;branch=master \
|
||||
file://CVE-2024-24856.patch"
|
||||
SRCREV = "170fc3076a86777077637f10b05c32ac21ac13aa"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
ALTERNATIVE:${PN} = "acpixtract acpidump"
|
||||
|
||||
EXTRA_OEMAKE = "CC='${CC}' \
|
||||
OPT_CFLAGS=-Wall \
|
||||
DESTDIR=${D} \
|
||||
PREFIX=${prefix} \
|
||||
INSTALLDIR=${bindir} \
|
||||
INSTALLFLAGS= \
|
||||
YACC=bison \
|
||||
YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install
|
||||
}
|
||||
|
||||
# iasl*.bb is a subset of this recipe, so RREPLACE it
|
||||
PROVIDES = "iasl"
|
||||
RPROVIDES:${PN} += "iasl"
|
||||
RREPLACES:${PN} += "iasl"
|
||||
RCONFLICTS:${PN} += "iasl"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,31 @@
|
||||
From 4d4547cf13cca820ff7e0f859ba83e1a610b9fd0 Mon Sep 17 00:00:00 2001
|
||||
From: Huai-Yuan Liu <qq810974084@gmail.com>
|
||||
Date: Tue, 9 Apr 2024 23:23:39 +0800
|
||||
Subject: [PATCH] check null return of ACPI_ALLOCATE_ZEROED in
|
||||
AcpiDbConvertToPackage
|
||||
|
||||
ACPI_ALLOCATE_ZEROED may fails, Elements might be null and will cause null pointer dereference later.
|
||||
|
||||
Signed-off-by: Huai-Yuan Liu <qq810974084@gmail.com>
|
||||
|
||||
CVE: CVE-2024-24856
|
||||
Upstream-Status: Backport [https://github.com/acpica/acpica/pull/946/commits/4d4547cf13cca820ff7e0f859ba83e1a610b9fd0]
|
||||
|
||||
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||
---
|
||||
source/components/debugger/dbconvert.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/source/components/debugger/dbconvert.c b/source/components/debugger/dbconvert.c
|
||||
index 6a41000036..32ad5be179 100644
|
||||
--- a/source/components/debugger/dbconvert.c
|
||||
+++ b/source/components/debugger/dbconvert.c
|
||||
@@ -354,6 +354,8 @@ AcpiDbConvertToPackage (
|
||||
|
||||
Elements = ACPI_ALLOCATE_ZEROED (
|
||||
DB_DEFAULT_PKG_ELEMENTS * sizeof (ACPI_OBJECT));
|
||||
+ if (!Elements)
|
||||
+ return (AE_NO_MEMORY);
|
||||
|
||||
This = String;
|
||||
for (i = 0; i < (DB_DEFAULT_PKG_ELEMENTS - 1); i++)
|
||||
Reference in New Issue
Block a user