Skip to content

feat(fuzz): add template_fuzz target#1147

Merged
chaliy merged 1 commit intomainfrom
feat/issue-1098-template-fuzz
Apr 8, 2026
Merged

feat(fuzz): add template_fuzz target#1147
chaliy merged 1 commit intomainfrom
feat/issue-1098-template-fuzz

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Apr 7, 2026

Summary

  • Add fuzz target for the custom Mustache/Handlebars template engine in builtins/template.rs
  • Tests template rendering with JSON data input, --strict mode, and -e HTML escaping
  • Guards against deeply nested {{#...}} blocks

Closes #1098

Test plan

  • cargo check in fuzz crate passes
  • cargo fmt --check clean
  • cargo clippy clean

Closes #1098 — Fuzz target for the custom Mustache/Handlebars template
engine. Tests template rendering with JSON data, strict mode, and HTML
escaping on arbitrary template syntax.
@chaliy chaliy force-pushed the feat/issue-1098-template-fuzz branch from 8ab6c2d to 3a763c8 Compare April 8, 2026 00:10
@chaliy chaliy merged commit ae579e3 into main Apr 8, 2026
18 checks passed
@chaliy chaliy deleted the feat/issue-1098-template-fuzz branch April 8, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fuzz: add template_fuzz target

1 participant