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:36:21 +0000 (20:36 +0200)
commitc6718437709108b4bcb784d774fb3df124df48e5
tree87cc250d01bd4b08adc5480bc9f3338683c9f5cc
parent6ebb49f3f9c9333611192561979bb799fa1eb76d
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/6105)
crypto/asn1/a_strex.c
crypto/asn1/asn1_err.c
crypto/err/openssl.txt
include/openssl/asn1err.h