Latest update - 7494

This commit is contained in:
2019-04-16 08:33:31 +09:00
parent 8a6aaf4b1d
commit 07e8892bce
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1381,7 +1381,7 @@ ngx_utf8_length(u_char *p, size_t n)
continue;
}
if (ngx_utf8_decode(&p, n) > 0x10ffff) {
if (ngx_utf8_decode(&p, last - p) > 0x10ffff) {
/* invalid UTF-8 */
return n;
}
+5
View File
@@ -511,6 +511,11 @@ ngx_ssl_certificate_status_callback(ngx_ssl_conn_t *ssl_conn, void *data)
rc = SSL_TLSEXT_ERR_NOACK;
cert = SSL_get_certificate(ssl_conn);
if (cert == NULL) {
return rc;
}
staple = X509_get_ex_data(cert, ngx_ssl_stapling_index);
if (staple == NULL) {