diff options
author | Andy Polyakov <appro@openssl.org> | 2018-08-05 11:51:37 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-08-07 08:56:17 +0200 |
commit | 28ad73181aeb3b0b027d53d3266159f4b2e15d5b (patch) | |
tree | f68342297aa398ae53af26457fe4b60c99dc4e70 /crypto/objects | |
parent | INSTALL,NOTES.ANDROID: minor updates. (diff) | |
download | openssl-28ad73181aeb3b0b027d53d3266159f4b2e15d5b.tar.xz openssl-28ad73181aeb3b0b027d53d3266159f4b2e15d5b.zip |
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/objects')
0 files changed, 0 insertions, 0 deletions