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,25 @@
|
||||
From 25c26a3b7a9ad8192ccc923e15cf62bf0108ef94 Mon Sep 17 00:00:00 2001
|
||||
From: werew <werew@ret2libc.com>
|
||||
Date: Thu, 3 Oct 2019 19:57:10 +0200
|
||||
Subject: [PATCH] Fixes #507
|
||||
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
Upstream-Status: Backport [https://github.com/libtom/libtomcrypt/commit/64d1153e5a515740ab56f39c46baf4cf6991a9d3]
|
||||
|
||||
src/pk/asn1/der/utf8/der_decode_utf8_string.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/pk/asn1/der/utf8/der_decode_utf8_string.c b/src/pk/asn1/der/utf8/der_decode_utf8_string.c
|
||||
index 94555b99f..d3ed82bea 100644
|
||||
--- a/src/pk/asn1/der/utf8/der_decode_utf8_string.c
|
||||
+++ b/src/pk/asn1/der/utf8/der_decode_utf8_string.c
|
||||
@@ -65,7 +65,7 @@ int der_decode_utf8_string(const unsigned char *in, unsigned long inlen,
|
||||
/* count number of bytes */
|
||||
for (z = 0; (tmp & 0x80) && (z <= 4); z++, tmp = (tmp << 1) & 0xFF);
|
||||
|
||||
- if (z > 4 || (x + (z - 1) > inlen)) {
|
||||
+ if (z == 1 || z > 4 || (x + (z - 1) > inlen)) {
|
||||
return CRYPT_INVALID_PACKET;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "LibTomCrypt is a public domain open source cryptographic toolkit"
|
||||
HOMEPAGE = "https://www.libtom.net/LibTomCrypt"
|
||||
SECTION = "libs"
|
||||
# Unlicense isn't very accurate for this revision, it was WTFPL in 0.18.0-rc1:
|
||||
# https://github.com/libtom/libtomcrypt/commit/77e31fb6a980212e90b9a50f116dc5a7bd91e527
|
||||
# then updated to dual license PD and WTFPL also in 0.18.0-rc1:
|
||||
# https://github.com/libtom/libtomcrypt/commit/412b2ee1fccc3a0df58f93f372c90d6d0f93bfc9
|
||||
# and then updated again to Unlicense after the 0.18.2 tag (it's only in develop branch):
|
||||
# https://github.com/libtom/libtomcrypt/commit/3630bee6fc0f73dd9c7923fd43f8ae15a2c0fb70
|
||||
# but keep using Unlicense to avoid triggering people with WTFPL license:
|
||||
# https://groups.google.com/g/libtom/c/17Z7xkECULM
|
||||
# and this comment can be removed next time libtomcrypt is updated
|
||||
LICENSE = "Unlicense"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=71baacc459522324ef3e2b9e052e8180"
|
||||
|
||||
DEPENDS = "libtool-cross"
|
||||
|
||||
SRC_URI = "git://github.com/libtom/libtomcrypt.git;protocol=https;branch=master \
|
||||
file://CVE-2019-17362.patch \
|
||||
"
|
||||
|
||||
SRCREV = "7e7eb695d581782f04b24dc444cbfde86af59853"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= "ltm"
|
||||
PACKAGECONFIG[ltm] = ",,libtommath"
|
||||
|
||||
CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'ltm', '-DUSE_LTM -DLTM_DESC', '', d)}"
|
||||
|
||||
EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'LIBPATH=${libdir}' 'CFLAGS=${CFLAGS}'"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -f makefile.shared
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake -f makefile.shared install
|
||||
}
|
||||
Reference in New Issue
Block a user