This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 42c3079c29 Fix cache_fill Content-Length greater-than config parsing 
(Coverity CID 1533658) (#12974)
42c3079c29 is described below

commit 42c3079c290f0f2e4db7ac24c111d16cc3c11b38
Author: Bryan Call <[email protected]>
AuthorDate: Mon Mar 16 15:58:04 2026 -0700

    Fix cache_fill Content-Length greater-than config parsing (Coverity CID 
1533658) (#12974)
---
 plugins/experimental/cache_fill/configs.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/experimental/cache_fill/configs.cc 
b/plugins/experimental/cache_fill/configs.cc
index 26b2e1967c..c0cfd0d27d 100644
--- a/plugins/experimental/cache_fill/configs.cc
+++ b/plugins/experimental/cache_fill/configs.cc
@@ -161,7 +161,7 @@ BgFetchConfig::readConfig(const char *config_file)
           if (cfg_value[0] == '<') {
             op = BgFetchRule::size_cmp_type::LESS_THAN_OR_EQUAL;
           } else if (cfg_value[0] == '>') {
-            op = BgFetchRule::size_cmp_type::LESS_THAN_OR_EQUAL;
+            op = BgFetchRule::size_cmp_type::GREATER_THAN_OR_EQUAL;
           } else {
             TSError("[%s] invalid Content-Length condition %.*s, skipping 
config value", PLUGIN_NAME, int(cfg_value.size()),
                     cfg_value.data());

Reply via email to