mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
The previous CVE-2023-30630_1.patch picked only the patch
"dmidecode: Write the whole dump file at once" d8cfbc808f.
But there was a refactoring which does not allow to cherry-pick it fast
forward. Resolving this conflict was not correctly done. The patch was:
+ u32 len;
+ u8 *table;
...
- if (!(opt.flags & FLAG_QUIET))
- pr_comment("Writing %d bytes to %s.", crafted[0x05],
- opt.dumpfile);
- write_dump(0, crafted[0x05], crafted, opt.dumpfile, 1);
+ dmi_table_dump(crafted, crafted[0x05], table, len);
It looks like the variables len and table have been added without
initialization.
Now this problem is solved by applying the previous refactoring as
well. Patch 1 gets replaced by Patch 1a and Patch 1b. Patch 2..4 are
rebased without changes.
(From OE-Core rev: ea069a94a213cc153528aebfc387f30215566cc7)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
30 lines
1.1 KiB
BlitzBasic
30 lines
1.1 KiB
BlitzBasic
SUMMARY = "DMI (Desktop Management Interface) table related utilities"
|
|
HOMEPAGE = "http://www.nongnu.org/dmidecode/"
|
|
DESCRIPTION = "Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output)."
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.xz \
|
|
file://0001-Committing-changes-from-do_unpack_extra.patch \
|
|
file://CVE-2023-30630_1a.patch \
|
|
file://CVE-2023-30630_1b.patch \
|
|
file://CVE-2023-30630_2.patch \
|
|
file://CVE-2023-30630_3.patch \
|
|
file://CVE-2023-30630_4.patch \
|
|
"
|
|
|
|
COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux"
|
|
|
|
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
|
|
|
# The upstream buildsystem uses 'docdir' as the path where it puts AUTHORS,
|
|
# README, etc, but we don't want those in the root of our docdir.
|
|
docdir .= "/${BPN}"
|
|
|
|
do_install() {
|
|
oe_runmake DESTDIR="${D}" install
|
|
}
|
|
|
|
SRC_URI[sha256sum] = "82c737a780614c38a783e8055340d295e332fb12c7f418b5d21a0797d3fb1455"
|
|
|