summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2013-08-23 15:23:21 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2013-08-23 15:23:21 -0400
commit9ceb2f15c20ad49179b44997ed188db0e0879c98 (patch)
tree3f6e415390a3efeac8e30b309cb18bbab9579227
parentde1a6825575f89b896b71156d6dfe14964184326 (diff)
downloadpyopenssl-9ceb2f15c20ad49179b44997ed188db0e0879c98.tar.gz
again
-rw-r--r--OpenSSL/crypto/x509ext.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSSL/crypto/x509ext.c b/OpenSSL/crypto/x509ext.c
index caa78b0..e075ae7 100644
--- a/OpenSSL/crypto/x509ext.c
+++ b/OpenSSL/crypto/x509ext.c
@@ -237,8 +237,10 @@ crypto_X509Extension_dealloc(crypto_X509ExtensionObj *self)
}
-/* Special handling of subjectAltName, see CVE-2013-4073 */
-
+/* Special handling of subjectAltName. OpenSSL's builtin formatter,
+ * X509V3_EXT_print, mishandles NUL bytes allowing a truncated display that
+ * does not accurately reflect what's in the extension.
+ */
int
crypto_X509Extension_str_san(crypto_X509ExtensionObj *self, BIO *bio)
{