This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 06506c09cb8e157e2b54965d3f04739dfbf0bf7e Author: Brian Olsen <[email protected]> AuthorDate: Tue Jul 2 10:08:11 2024 -0600 wasm plugin: provide defaults for struct SanitizationConfig (#11503) (cherry picked from commit 3ff08b89ba303ac92c5a6a63b83b68ad6f01ef6a) --- plugins/experimental/wasm/lib/include/proxy-wasm/wasm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/experimental/wasm/lib/include/proxy-wasm/wasm.h b/plugins/experimental/wasm/lib/include/proxy-wasm/wasm.h index 1a785a8f9a..9b2fec31a9 100644 --- a/plugins/experimental/wasm/lib/include/proxy-wasm/wasm.h +++ b/plugins/experimental/wasm/lib/include/proxy-wasm/wasm.h @@ -40,8 +40,8 @@ using WasmVmFactory = std::function<std::unique_ptr<WasmVm>()>; using CallOnThreadFunction = std::function<void(std::function<void()>)>; struct SanitizationConfig { - std::vector<std::string> argument_list; - bool is_allowlist; + std::vector<std::string> argument_list{}; + bool is_allowlist{false}; }; using AllowedCapabilitiesMap = std::unordered_map<std::string, SanitizationConfig>;
