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:46:09 +0000 (19:46 +0100)
commit66e731ab09f2c652d0e179df3df10d069b407604
tree967c99f338802ce9561f7476e6f171dc07314773
parent65cb92f4da37a3895437f0c9940ee0bcf9f28c8a
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>
(cherry picked from commit b33d1141b6dcce947708b984c5e9e91dad3d675d)
crypto/x509/x509_obj.c