envoyproxy/envoy

Limit the size of the stat prefix in fuzz tests

Open

#40,527 建立於 2025年8月1日

在 GitHub 查看
 (3 留言) (0 反應) (2 負責人)C++ (5,373 fork)batch import
area/ext_procarea/fuzzingbeginnerbughelp wanted

倉庫指標

Star
 (27,997 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 378 個 PR)

描述

Test case file: clusterfuzz-testcase-ext_proc_unit_test_fuzz-5199582416928768.txt

fuzzer generated all dots 1Mb stats prefix. It needs to be limited to avoid excessive CPU cleanup of the stats store.

Steps to reproduce:

Copy downloaded test case file into the test/extensions/filters/http/ext_proc/unit_test_fuzz/ext_proc_corpus/ directory and run:

bazel build --config=asan -c dbg test/extensions/filters/http/ext_proc/unit_test_fuzz/ext_proc_unit_test_fuzz
bazel-bin/test/extensions/filters/http/ext_proc/unit_test_fuzz/ext_proc_unit_test_fuzz test/extensions/filters/http/ext_proc/unit_test_fuzz/ext_proc_corpus/clusterfuzz-testcase-ext_proc_unit_test_fuzz-5199582416928768.txt

貢獻者指南