]> git.ipfire.org Git - thirdparty/openssl.git/commit
a_strex.c: prevent out of bound read in do_buf()
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 26 Apr 2018 18:36:41 +0000 (20:36 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 2 May 2018 18:39:25 +0000 (20:39 +0200)
commit7e6c0f56e65af0727d87615342df1272cd017e9f
tree9cfaf4284d858dd27b74fc7c008979aa0bd9596a
parenta96022b3c4d159d1b14f54bd6811fd97a52df636
a_strex.c: prevent out of bound read in do_buf()

which is used for ASN1_STRING_print_ex*() and X509_NAME_print_ex*().

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6118)
crypto/asn1/a_strex.c
crypto/asn1/asn1.h
crypto/asn1/asn1_err.c