Sanity check buffer length.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 28 Apr 2016 12:09:27 +0000 (13:09 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 29 Apr 2016 18:42:21 +0000 (19:42 +0100)
commitb33d1141b6dcce947708b984c5e9e91dad3d675d
tree34e60a84a133d138b0695c0b5d02a860413d8f19
parent295f3a24919157e2f9021d0b1709353710ad63db
Sanity check buffer length.

Reject zero length buffers passed to X509_NAME_onelne().

Issue reported by Guido Vranken.

Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/x509/x509_obj.c