From c024d5d79eeec6c26386bdb9b814370ef092f62b Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 2 Dec 2025 16:10:37 +0000 Subject: [PATCH] feat: add HEIC, HEIF and related mime types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit See https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format Submitted by: Alexandru Mărășteanu Github: closes #580 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1930199 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_ct_sct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ssl/ssl_ct_sct.c b/modules/ssl/ssl_ct_sct.c index dcac6a31646..cc6b6f18e56 100644 --- a/modules/ssl/ssl_ct_sct.c +++ b/modules/ssl/ssl_ct_sct.c @@ -142,7 +142,7 @@ apr_status_t sct_parse(const char *source, ap_assert(rv == APR_SUCCESS); if (fields->extlen != 0) { - if (fields->extlen < len) { + if (len < fields->extlen) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(02770) "SCT size %" APR_SIZE_T_FMT " has no " "space for %hu bytes of extensions", @@ -176,7 +176,7 @@ apr_status_t sct_parse(const char *source, rv = ctutil_deserialize_uint16(&cur, &len, &fields->siglen); ap_assert(rv == APR_SUCCESS); - if (fields->siglen < len) { + if (len < fields->siglen) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(02772) "SCT has no space for signature"); return APR_EINVAL; -- 2.47.3