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,42 @@
|
||||
From b1d7cc6495c541cdd99399b4d1a835997376dcbf Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 22 Aug 2022 23:42:33 -0700
|
||||
Subject: [PATCH] strpbrk_s: Remove unused variable len
|
||||
|
||||
Fixes
|
||||
error: variable 'len' set but not used [-Werror,-Wunused-but-set-variable]
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/rurban/safeclib/pull/123]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/extstr/strpbrk_s.c | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/src/extstr/strpbrk_s.c b/src/extstr/strpbrk_s.c
|
||||
index 5bb7a0f8..2cf8a8be 100644
|
||||
--- a/src/extstr/strpbrk_s.c
|
||||
+++ b/src/extstr/strpbrk_s.c
|
||||
@@ -79,7 +79,6 @@ EXPORT errno_t _strpbrk_s_chk(char *dest, rsize_t dmax, char *src, rsize_t slen,
|
||||
#endif
|
||||
{
|
||||
char *ps;
|
||||
- rsize_t len;
|
||||
|
||||
CHK_SRC_NULL("strpbrk_s", firstp)
|
||||
*firstp = NULL;
|
||||
@@ -121,7 +120,6 @@ EXPORT errno_t _strpbrk_s_chk(char *dest, rsize_t dmax, char *src, rsize_t slen,
|
||||
while (*dest && dmax) {
|
||||
|
||||
ps = src;
|
||||
- len = slen;
|
||||
while (*ps) {
|
||||
|
||||
/* check for a match with the substring */
|
||||
@@ -130,7 +128,6 @@ EXPORT errno_t _strpbrk_s_chk(char *dest, rsize_t dmax, char *src, rsize_t slen,
|
||||
return RCNEGATE(EOK);
|
||||
}
|
||||
ps++;
|
||||
- len--;
|
||||
}
|
||||
dest++;
|
||||
dmax--;
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "Safe C Library"
|
||||
|
||||
LICENSE = "safec"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
|
||||
SECTION = "lib"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "f9add9245b97c7bda6e28cceb0ee37fb7e254fd8"
|
||||
SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \
|
||||
file://0001-strpbrk_s-Remove-unused-variable-len.patch \
|
||||
"
|
||||
|
||||
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64|mips).*-linux'
|
||||
|
||||
PACKAGES =+ "${PN}-check"
|
||||
|
||||
FILES:${PN}-check += "${bindir}/check_for_unsafe_apis"
|
||||
|
||||
RDEPENDS:${PN}-check += "perl"
|
||||
Reference in New Issue
Block a user