u-boot/lib
Heinrich Schuchardt 6c717d952d tpm: use memmove() for overlapping buffers
The behavior of memcpy() for overlapping buffers is undefined.

Fixes: 4c57ec76b7 ("tpm: Implement state command for Cr50")
Addresses-Coverity-ID: 356664 Overlapping buffer in memory copy
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2024-11-16 19:21:59 +02:00
..
acpi acpi_table: Fix coverity defect in acpi_write_spcr 2024-11-01 13:33:57 -06:00
aes global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
at91
blake2 lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
bzip2 lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
crypt lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
crypto Merge patch series "Integrate MbedTLS v3.6 LTS with U-Boot" 2024-10-14 17:59:04 -06:00
dhry lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
ecdsa lib: ecdsa: Add ECDSA384 support 2024-10-21 17:52:52 -06:00
efi include: export uuid.h 2024-09-12 17:35:37 +02:00
efi_driver efi_driver: use blk_create_devicef() 2024-10-18 17:05:19 +02:00
efi_loader efi_loader: Drop sandbox PXE architecture 2024-11-09 10:01:47 +01:00
efi_selftest efi_selftest: make HII test data static 2024-10-30 14:54:08 +01:00
fwu_updates fwu: do not allow capsule processing on exceeding Trial Counter threshold 2024-09-19 10:52:50 +03:00
libavb lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
libfdt global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
lwip lwip: fix code style issues 2024-11-14 18:14:05 -06:00
lzma lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
lzo lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
mbedtls mbedtls: Enable TLS 1.2 support 2024-11-12 19:09:52 -06:00
optee
rsa lib: rsa: Set conventional salt length RSA-PSS parameter 2024-11-14 18:14:05 -06:00
zlib zlib: Fix big performance regression 2024-07-19 16:48:07 -06:00
zstd lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
.gitignore
abuf.c
addr_map.c
aes.c
alist.c alist: Add a way to efficiently filter an alist 2024-11-03 21:27:12 -06:00
asm-offsets.c global_data: Remove environment members if not used 2024-08-26 14:06:08 -06:00
asn1_decoder.c
bch.c
binman.c net: lwip: add TFTP support and tftpboot command 2024-10-16 11:11:56 -06:00
bitrev.c
charset.c efi_loader: add an EFI variable with the file contents 2024-04-20 08:22:24 +02:00
circbuf.c lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
crc7.c lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
crc8.c
crc16-ccitt.c
crc16.c
crc32.c
crc32c.c
ctype.c
date.c
display_options.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
div64.c
elf.c lib: move phdr increment to for loop heading 2024-08-27 18:01:21 -06:00
errno.c
errno_str.c
fdt-libcrypto.c
fdtdec.c lib: fdtdec: Parse the gzip/lzo headers only when dependencies have met 2024-10-17 15:01:14 -06:00
fdtdec_common.c
fdtdec_test.c
getopt.c
gunzip.c
gzip.c Revert "Revert "Merge patch series "zlib: Address CVE-2016-9841""" 2024-07-05 13:57:02 -06:00
hang.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
hash-checksum.c
hashtable.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
hexdump.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
image-sparse.c lib: sparse: Fix error checking for write_sparse_chunk_raw 2024-02-09 09:42:04 +01:00
initcall.c initcall: Correct use of relocation offset 2024-07-04 09:25:20 -06:00
Kconfig Merge patch series "Implement ACPI on aarch64" 2024-10-27 18:44:13 -06:00
ldiv.c
linux_compat.c
linux_string.c
list_sort.c
lmb.c lmb.c: add missing comma in lmb_dump_region() 2024-11-14 18:14:06 -06:00
lz4.c lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
lz4_wrapper.c
Makefile net: lwip: build lwIP 2024-10-16 11:11:56 -06:00
md5.c md5: Remove md5 non-watchdog API 2024-10-14 17:58:28 -06:00
membuff.c
net_utils.c
of_live.c
oid_registry.c
panic.c
physmem.c
qsort.c
rand.c
rational.c
rbtree.c
rc4.c
rtc-lib.c
semihosting.c
sha1.c lib/sha*: include u-boot/schedule.h instead of cyclic.h 2024-10-23 06:52:38 +02:00
sha256.c lib/sha*: include u-boot/schedule.h instead of cyclic.h 2024-10-23 06:52:38 +02:00
sha512.c lib/sha*: include u-boot/schedule.h instead of cyclic.h 2024-10-23 06:52:38 +02:00
slre.c
smbios-parser.c smbios: correctly name Structure Table Maximum Size field 2024-02-02 19:57:45 +01:00
smbios.c smbios: add extended Extended BIOS ROM Size 2024-07-31 08:29:16 +02:00
sscanf.c
string.c lib: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
strto.c lib: provide function hextoull() 2024-11-13 08:14:23 -06:00
tables_csum.c
time.c xpl: Rename spl_phase() to xpl_phase() 2024-10-11 11:44:47 -06:00
tiny-printf.c net: lwip: add DHCP support and dhcp commmand 2024-10-16 11:11:56 -06:00
tpm-common.c
tpm-utils.h
tpm-v1.c sha1: Remove sha1 non-watchdog API 2024-10-14 17:58:30 -06:00
tpm-v2.c tpm: use memmove() for overlapping buffers 2024-11-16 19:21:59 +02:00
tpm_api.c
tpm_tcg2.c tpm: Untangle tpm2_get_pcr_info() 2024-06-30 13:58:31 +02:00
trace.c
uuid.c lib: uuid: fix uuid_str_to_bin() on 32-bit 2024-11-13 08:14:23 -06:00
vsprintf.c lib: vsprintf: fix API build 2024-11-13 08:16:41 -06:00
xxhash.c