openssl/crypto
Tomas Mraz bfa5f0f574 put_str: Use memcpy instead of strncpy
This fixes a warning from latest gcc.

There is no point in using strncpy here as we
intentionally copy only the string contents without
the terminating NUL. The len is set from strlen().

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18628)
2022-06-23 15:45:17 +02:00
..
aes Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
aria
asn1 Update copyright year 2022-05-03 13:36:42 +01:00
async Update copyright year 2022-03-15 13:52:58 +00:00
bf Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
bio Update copyright year 2022-06-21 14:03:39 +01:00
bn rsa: fix bn_reduce_once_in_place call for rsaz_mod_exp_avx512_x2 2022-06-23 12:52:09 +10:00
buffer Update copyright year 2021-06-17 13:24:59 +01:00
camellia Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
cast Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
chacha Generate the preprocessed .s files for chacha and poly 1305 on ia64 2022-05-27 08:12:00 +02:00
cmac Update copyright year 2022-06-21 14:03:39 +01:00
cmp Update copyright year 2022-03-15 13:52:58 +00:00
cms Update copyright year 2022-06-21 14:03:39 +01:00
comp Fix coverity 1493364 & 1493375: unchecked return value 2021-11-08 08:56:38 +10:00
conf Update copyright year 2022-06-21 14:03:39 +01:00
crmf Update copyright year 2022-06-21 14:03:39 +01:00
ct Update copyright year 2022-06-21 14:03:39 +01:00
des Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
dh Update copyright year 2022-06-21 14:03:39 +01:00
dsa Add sensitive memory clean in priv encode 2022-06-16 15:16:23 +10:00
dso Update copyright year 2021-12-14 14:41:27 +00:00
ec Update copyright year 2022-06-21 14:03:39 +01:00
encode_decode Check return value of ossl_parse_property() 2022-06-06 09:46:03 +02:00
engine Update copyright year 2022-05-03 13:36:42 +01:00
err Update copyright year 2022-06-21 14:03:39 +01:00
ess err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
evp Update copyright year 2022-06-21 14:03:39 +01:00
ffc Update copyright year 2022-05-03 13:36:42 +01:00
hmac Adapt other parts of the source to the changed EVP_Q_digest() and EVP_Q_mac() 2021-06-23 23:00:36 +02:00
http crypto/http/http_client.c: Add the check for OPENSSL_strdup 2022-06-23 12:35:48 +02:00
idea
kdf
lhash Fix bug in OPENSSL_LH_flush 2022-04-25 13:20:13 +02:00
md2
md4
md5 Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
mdc2
modes Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
objects Update copyright year 2022-05-03 13:36:42 +01:00
ocsp Update copyright year 2022-05-03 13:36:42 +01:00
pem Update copyright year 2022-03-15 13:52:58 +00:00
perlasm Update copyright year 2022-06-21 14:03:39 +01:00
pkcs7 Update copyright year 2022-06-21 14:03:39 +01:00
pkcs12 Update copyright year 2021-06-17 13:24:59 +01:00
poly1305 Generate the preprocessed .s files for chacha and poly 1305 on ia64 2022-05-27 08:12:00 +02:00
property put_str: Use memcpy instead of strncpy 2022-06-23 15:45:17 +02:00
rand Update copyright year 2022-06-21 14:03:39 +01:00
rc2
rc4 Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
rc5 Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
ripemd Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
rsa Update copyright year 2022-06-21 14:03:39 +01:00
seed Update copyright year 2021-06-17 13:24:59 +01:00
sha Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
siphash Update copyright year 2022-05-03 13:36:42 +01:00
sm2 Add missing check according to SM2 Digital Signature generation algorithm 2021-11-02 12:12:38 +01:00
sm3
sm4
srp add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
stack
store Fix inadvertent NULL assignments in ternary ops 2022-06-05 11:11:48 +02:00
ts ts: fix memleaks caused by TS_VERIFY_CTX_set_imprint 2021-08-26 11:06:06 +02:00
txt_db
ui Fix the check of UI_method_set_ex_data 2022-05-27 07:58:48 +02:00
whrlpool Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
x509 Fix the checks of X509_LOOKUP_* functions 2022-06-23 12:43:19 +02:00
LPdir_nyi.c
LPdir_unix.c Update copyright year 2022-05-03 13:36:42 +01:00
LPdir_vms.c
LPdir_win.c
LPdir_win32.c
LPdir_wince.c
README-sparse_array.md
alphacpuid.pl
arm64cpuid.pl
arm_arch.h Update copyright year 2021-05-20 14:22:33 +01:00
armcap.c Fix detection of ARMv7 and ARM64 CPU features on FreeBSD 2021-11-24 11:01:27 +01:00
armv4cpuid.pl
asn1_dsa.c
bsearch.c
build.info Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
c64xpluscpuid.pl
context.c Drop the last ossl_init_casecmp() call 2022-05-23 09:30:36 +02:00
core_algorithm.c Update copyright year 2022-06-21 14:03:39 +01:00
core_fetch.c Update copyright year 2022-06-21 14:03:39 +01:00
core_namemap.c str[n]casecmp => OPENSSL_strncasecmp 2022-04-21 17:12:32 +02:00
cpt_err.c Have OSSL_PARAM_allocate_from_text() raise error on unexpected neg number 2021-11-24 19:21:41 +01:00
cpuid.c
cryptlib.c crypto: remove TODOs 2021-06-02 16:30:15 +10:00
ctype.c tolower: refine the tolower code to avoid a memory access 2022-05-23 09:52:54 +10:00
cversion.c
der_writer.c
dllmain.c
ebcdic.c
ex_data.c
getenv.c
ia64cpuid.S
info.c
init.c Avoid reusing the init_lock for a different purpose 2022-06-15 09:46:29 +02:00
initthread.c Avoid a race in init_thread_stop() 2021-11-15 14:22:41 +00:00
mem.c Update copyright year 2022-03-15 13:52:58 +00:00
mem_clr.c
mem_sec.c
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c strcasecmp: implement strcasecmp and strncasecmp 2022-05-23 09:54:29 +10:00
o_time.c
packet.c Update copyright year 2021-06-17 13:24:59 +01:00
param_build.c Make OSSL_PARAM_BLD_push_BN{,_pad}() return an error on negative numbers 2021-11-23 11:43:07 +01:00
param_build_set.c
params.c params: fix range check when converting double to uint64_t. 2021-06-19 15:47:57 +10:00
params_dup.c Update copyright year 2022-05-03 13:36:42 +01:00
params_from_text.c Allow sign extension in OSSL_PARAM_allocate_from_text() 2021-11-24 19:21:41 +01:00
pariscid.pl
passphrase.c Update copyright year 2022-03-15 13:52:58 +00:00
ppccap.c enable getauxval on android 10 2021-06-25 18:31:05 +10:00
ppccpuid.pl
provider.c Correctly activate the provider in OSSL_PROVIDER_try_load 2021-11-15 14:22:41 +00:00
provider_child.c Update copyright year 2022-06-21 14:03:39 +01:00
provider_conf.c Correctly activate the provider in OSSL_PROVIDER_try_load 2021-11-15 14:22:41 +00:00
provider_core.c Update copyright year 2022-06-21 14:03:39 +01:00
provider_local.h make struct provider_info_st a full type 2021-06-24 14:48:15 +01:00
provider_predefined.c make struct provider_info_st a full type 2021-06-24 14:48:15 +01:00
punycode.c
s390x_arch.h Update copyright year 2022-05-03 13:36:42 +01:00
s390xcap.c Update copyright year 2022-05-03 13:36:42 +01:00
s390xcpuid.pl
self_test_core.c Update copyright year 2021-05-20 14:22:33 +01:00
sparccpuid.S
sparcv9cap.c Split bignum code out of the sparcv9cap.c 2021-07-15 09:33:04 +02:00
sparse_array.c Update copyright year 2022-05-03 13:36:42 +01:00
threads_lib.c
threads_none.c
threads_pthread.c Never use `__atomic_*` on macOS 10.7 and 10.8 2022-04-22 15:25:53 +02:00
threads_win.c Explicitly #include <synchapi.h> is unnecessary 2021-09-23 14:13:37 +02:00
trace.c str[n]casecmp => OPENSSL_strncasecmp 2022-04-21 17:12:32 +02:00
uid.c Openssl fails to compile on Debian with kfreebsd kernels 2021-09-02 10:05:51 +10:00
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl