Latest update - 7494
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user