openssl/apps
Tomas Mraz 767db672c4 cmp.c: Avoid dereference with negative index and use memcpy
This prevents a compile-time warning on newer gcc.

Also fix the related warning message.

Fixes #16814

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16821)
2021-10-25 15:01:42 +02:00
..
demoSRP
include APPS: Fix result type of dump_cert_text() and behavior of print_name() on out==NULL 2021-08-25 07:07:21 +02:00
lib s_socket.c: Avoid possible NULL pointer dereference 2021-10-06 17:23:28 +02:00
asn1parse.c
build.info
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c Remove executable mode attributes of non-executable files 2021-07-13 16:04:32 +10:00
CA.pl.in apps/CA.pl.in: restore the quotes around -CAfile, they were there for a reason 2021-06-26 06:43:09 +02:00
cert.pem
ciphers.c apps/ciphers: Fix wrong return value when using -convert parameter 2021-08-25 09:23:01 +02:00
client.pem
cmp.c cmp.c: Avoid dereference with negative index and use memcpy 2021-10-25 15:01:42 +02:00
cms.c CMS app: Fix new -wrap option 2021-08-25 20:01:09 +02:00
crl2pkcs7.c
crl.c
ct_log_list.cnf
dgst.c Fix unsafe BIO_get_md_ctx check 2021-10-08 11:46:50 +02:00
dhparam.c Bugfix: unsafe return check of EVP_PKEY_fromdata 2021-10-11 10:45:21 +02:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c
dsap.pem
dsaparam.c
ec.c
ecparam.c
enc.c apps: remove AEAD/mode checks that are now redundant 2021-06-16 18:32:30 +10:00
engine.c
errstr.c
fipsinstall.c
gendsa.c
genpkey.c genpkey: -quiet doesn't take an argument 2021-08-12 16:26:22 +10:00
genrsa.c
info.c
insta.ca.crt
kdf.c
list.c
mac.c
nseq.c
ocsp.c
openssl-vms.cnf Disclaimer about the default provider activation added to config 2021-08-12 09:59:34 +02:00
openssl.c Clean up on failed BIO creation 2021-10-22 11:56:29 +02:00
openssl.cnf Disclaimer about the default provider activation added to config 2021-08-12 09:59:34 +02:00
passwd.c
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c
pkcs8.c
pkcs12.c apps/pkcs12: Do not assume null termination of ASN1_UTF8STRING 2021-08-31 12:20:12 +02:00
pkey.c
pkeyparam.c
pkeyutl.c apps/pkeyutl.c: call ERR_print_errors() on all errors, including Signature Verification Failure 2021-08-04 16:38:09 +02:00
prime.c
privkey.pem
progs.pl
rand.c
rehash.c
req.c APPS/req.c: Make -reqexts option an alias of -extensions option 2021-10-22 07:29:07 +02:00
req.pem
rsa8192.pem
rsa.c rsa: Try legacy encoding functions for pubkey 2021-08-24 17:56:46 +02:00
rsautl.c
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Bindhost/bindport should be freed 2021-10-09 10:31:34 +02:00
s_server.c Fix the s_server psk_server_cb for use in DTLS 2021-10-22 10:59:49 +01:00
s_time.c s_time: avoid unlikely division by zero 2021-06-30 13:55:09 +10:00
server2.pem
server.pem
server.srl
sess_id.c
smime.c apps: use get_cipher_any() instead of get_cipher() for commands that support these ciphers/modes 2021-06-16 18:32:30 +10:00
speed.c Fix 'openssl speed' information printout 2021-09-10 12:16:12 +02:00
spkac.c
srp.c
storeutl.c
testCA.pem
testdsa.h
testrsa.h
timeouts.h
ts.c
tsget.in convert tabs to spaces in two distributed Perl scripts 2021-09-14 07:21:22 +10:00
verify.c
version.c
vms_decc_init.c
x509.c apps/x509: Fix self-signed check to happen before setting issuer name 2021-10-07 15:38:01 +02:00