Skip to contentSkip to conversation

binutils: Fix octeon3 disassembly patch

PATCH New Ross Burton 1 participant 3 messages Nov 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 binutils: Fix octeon3 disassembly patch

From: Mark Hatle <[email protected]>

The structure has apparently changed, and there was a missing setting. This corrects a segfault when disassembling code.

---
 meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch +1 -1
index 6108c0d..4e8c69f 100644
@@ -229,7 +229,7 @@ Index: git/opcodes/mips-dis.c
 +  { "octeon3",   1, bfd_mach_mips_octeon3, CPU_OCTEON3,
 +    ISA_MIPS64R2 | INSN_OCTEON3, ASE_VIRT | ASE_VIRT64,
 +    mips_cp0_names_numeric,
-+    NULL, 0, mips_hwr_names_numeric },
++    NULL, 0, mips_cp1_names_mips3264, mips_hwr_names_numeric },
 +
    { "xlr", 1, bfd_mach_mips_xlr, CPU_XLR,
      ISA_MIPS64 | INSN_XLR, 0,
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/3 libarchive: rename patch to reflect CVE

This patch is a CVE fix, so rename it to help CVE detection tools identify it as such.

---
 ...CURE_NOABSOLUTEPATHS-option.patch => libarchive-CVE-2015-2304.patch} | 0
 meta/recipes-extended/libarchive/libarchive_3.1.2.bb                    | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/libarchive/libarchive/{0001-Add-ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS-option.patch => libarchive-CVE-2015-2304.patch} (100%)
meta/recipes-extended/libarchive/libarchive/libarchive-CVE-2015-2304.patch renamed from meta/recipes-extended/libarchive/libarchive/0001-Add-ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS-option.patch +0 -0
similarity index 100%
rename from meta/recipes-extended/libarchive/libarchive/0001-Add-ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS-option.patch
rename to meta/recipes-extended/libarchive/libarchive/libarchive-CVE-2015-2304.patch
meta/recipes-extended/libarchive/libarchive_3.1.2.bb +1 -1
index aaa3255..716db9a 100644
@@ -32,7 +32,7 @@ PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle,"
 SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \
            file://libarchive-CVE-2013-0211.patch \
            file://pkgconfig.patch \
-           file://0001-Add-ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS-option.patch \
+           file://libarchive-CVE-2015-2304.patch \
            file://mkdir.patch \
            "
 
Signature · 1 line
2.1.4
#2 lore raw

PATCH 3/3 yocto-bsp: Typo on the file extension

In reply to Ross Burton

From: Leonardo Sandoval <[email protected]>

By mistake, the file initially had a wrong extension name, so changing to the correct one.

---
 .../linux/{linux-yocto_4.1.bbapend => linux-yocto_4.1.bbappend}           | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{linux-yocto_4.1.bbapend => linux-yocto_4.1.bbappend} (100%)
scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend renamed from scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbapend +0 -0
similarity index 100%
rename from scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbapend
rename to scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend
Signature · 1 line
2.1.4