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:
@@ -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