aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509v3/v3_purp.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-08-05 11:51:37 +0200
committerAndy Polyakov <appro@openssl.org>2018-08-07 08:56:17 +0200
commit28ad73181aeb3b0b027d53d3266159f4b2e15d5b (patch)
treef68342297aa398ae53af26457fe4b60c99dc4e70 /crypto/x509v3/v3_purp.c
parentf44d7e8b472dfc0602f8d06ef72e808a5e8d410c (diff)
downloadopenssl-28ad73181aeb3b0b027d53d3266159f4b2e15d5b.zip
openssl-28ad73181aeb3b0b027d53d3266159f4b2e15d5b.tar.gz
openssl-28ad73181aeb3b0b027d53d3266159f4b2e15d5b.tar.bz2
x509/x509name.c: fix potential crash in X509_NAME_get_text_by_OBJ.
Documentation says "at most B<len> bytes will be written", which formally doesn't prohibit zero. But if zero B<len> was passed, the call to memcpy was bound to crash. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6860)
Diffstat (limited to 'crypto/x509v3/v3_purp.c')
0 files changed, 0 insertions, 0 deletions