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:37:47 +0000 (20:37 +0200)
commitebdeeb363f03848cea5028e63c6be294a34a8426
tree9fa597d3272ff9b110d47aef718ecaf46262a75e
parentbf87bf45f181fa130af27739f5c38aba88f88cfd
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/6117)
crypto/asn1/a_strex.c
crypto/asn1/asn1_err.c
include/openssl/asn1.h