openssl/crypto
Richard Levitte c1c1783d45 Restore check of |*xn| against |name| in X509_NAME_set
A previous change of this function introduced a fragility when the
destination happens to be the same as the source.  Such alias isn't
recommended, but could still happen, for example in this kind of code:

    X509_NAME *subject = X509_get_issuer_name(x);

    /* ... some code passes ... */

    X509_set_issuer_name(x, subject);

Fixes #4710

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6280)
2018-05-20 09:48:58 +02:00
..
aes PPC assembly pack: add POWER9 results. 2018-05-10 11:44:21 +02:00
aria
asn1 a_strex.c: prevent out of bound read in do_buf() 2018-05-02 20:36:21 +02:00
async Update copyright year 2018-05-01 13:34:30 +01:00
bf Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
bio Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
blake2
bn Make BN_GF2m_mod_arr more constant time 2018-05-17 16:57:11 +01:00
buffer Update copyright year 2018-04-03 13:57:12 +01:00
camellia Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
cast Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
chacha PPC assembly pack: add POWER9 results. 2018-05-10 11:44:21 +02:00
cmac Update copyright year 2018-04-17 15:18:40 +02:00
cms Fix a mem leak in CMS 2018-05-08 08:43:39 +01:00
comp Fix last(?) batch of malloc-NULL places 2018-04-26 14:02:24 -04:00
conf Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
ct Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
des Update copyright year 2018-04-03 13:57:12 +01:00
dh DH: add simple getters for commonly used DH struct members 2018-05-18 08:53:48 +02:00
dsa Update copyright year 2018-04-17 15:18:40 +02:00
dso openssl#5668: corrections after compiling with -qinfo=all:als. 2018-04-14 13:28:31 +02:00
ec Allow the ca application to use EdDSA 2018-05-18 10:14:29 +01:00
engine Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
err a_strex.c: prevent out of bound read in do_buf() 2018-05-02 20:36:21 +02:00
evp Update copyright year 2018-04-17 15:18:40 +02:00
hmac Update copyright year 2018-04-17 15:18:40 +02:00
idea
include/internal Change rand_pool_bytes_needed to handle less entropy than 1 per 8 bits 2018-05-02 10:18:29 +02:00
kdf Update copyright year 2018-04-17 15:18:40 +02:00
lhash Update copyright year 2018-05-01 13:34:30 +01:00
md2
md4
md5 Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
mdc2
modes PPC assembly pack: add POWER9 results. 2018-05-10 11:44:21 +02:00
objects Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00
ocsp
pem In cases where we ask PEM_def_callback for minimum 0 length, accept 0 length 2018-05-12 10:19:51 +02:00
perlasm
pkcs7 Update copyright year 2018-03-20 13:08:46 +00:00
pkcs12 Update copyright year 2018-05-01 13:34:30 +01:00
poly1305 Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
rand Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
rc2
rc4 Update copyright year 2018-03-20 13:08:46 +00:00
rc5 Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
ripemd Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
rsa Update copyright year 2018-04-17 15:18:40 +02:00
seed
sha PPC assembly pack: add POWER9 results. 2018-05-10 11:44:21 +02:00
siphash Update copyright year 2018-04-17 15:18:40 +02:00
sm2 [SM2_sign] fix double free and return value 2018-04-25 10:24:43 +01:00
sm3
sm4
srp Fix a memory leak in an error path 2018-04-17 17:26:16 +01:00
stack Fix last(?) batch of malloc-NULL places 2018-04-26 14:02:24 -04:00
store Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
ts Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
txt_db Update copyright year 2018-04-03 13:57:12 +01:00
ui UI console: Restore tty settings, do not force ECHO after prompt 2018-05-14 11:00:23 +02:00
whrlpool Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
x509 Restore check of |*xn| against |name| in X509_NAME_set 2018-05-20 09:48:58 +02:00
x509v3 v3_purp.c: add locking to x509v3_cache_extensions() 2018-05-03 22:22:37 +02:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h Fix building linux-armv4 with --strict-warnings 2018-04-20 15:49:33 +02:00
armcap.c crypto/armcap.c: mask SHA512 hardware detection on iOS. 2018-03-06 23:18:24 +01:00
armv4cpuid.pl Update copyright year 2018-05-01 13:34:30 +01:00
build.info Remove import/use of File::Spec::Function 2018-04-01 22:41:04 +02:00
c64xpluscpuid.pl
cpt_err.c Fix last(?) batch of malloc-NULL places 2018-04-26 14:02:24 -04:00
cryptlib.c Enabled OneCore Conf for Console Apps (removed nonUniversal API) 2018-04-03 18:39:22 +02:00
ctype.c
cversion.c
dllmain.c
ebcdic.c
ex_data.c Ensure the thread keys are always allocated in the same order 2018-04-20 15:45:06 +02:00
ia64cpuid.S
init.c Fix memleaks in async api 2018-04-26 18:39:51 +02:00
LPdir_nyi.c
LPdir_unix.c Adjust LPdir_unix.c on VMS for OpenSSL expectations 2018-03-12 23:01:02 +01:00
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_dbg.c
mem_sec.c Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
mem.c Avoid unconditional store in CRYPTO_malloc. 2018-03-06 13:21:49 -05:00
mips_arch.h
o_dir.c
o_fips.c
o_fopen.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
o_init.c
o_str.c
o_time.c Update copyright year 2018-04-03 13:57:12 +01:00
pariscid.pl Update copyright year 2018-04-03 13:57:12 +01:00
ppc_arch.h
ppccap.c Fix --strict-warnings build of ppc-linux target 2018-05-08 15:14:27 +02:00
ppccpuid.pl
s390x_arch.h s390x assembly pack: add KMF code path for aes-cfb/cfb8 2018-03-28 23:31:01 +02:00
s390xcap.c
s390xcpuid.pl s390x assembly pack: add KMF code path for aes-cfb/cfb8 2018-03-28 23:31:01 +02:00
sparc_arch.h
sparccpuid.S
sparcv9cap.c
threads_none.c Update copyright year 2018-04-17 15:18:40 +02:00
threads_pthread.c Update copyright year 2018-04-17 15:18:40 +02:00
threads_win.c Update copyright year 2018-04-17 15:18:40 +02:00
uid.c
vms_rms.h
x86_64cpuid.pl Fix issues in ia32 RDRAND asm leading to reduced entropy 2018-03-08 10:27:49 -05:00
x86cpuid.pl Fix issues in ia32 RDRAND asm leading to reduced entropy 2018-03-08 10:27:49 -05:00