Skip to content

test: implement missing glob_fuzz target#926

Merged
chaliy merged 2 commits intomainfrom
feat/issue-915-glob-fuzz
Mar 31, 2026
Merged

test: implement missing glob_fuzz target#926
chaliy merged 2 commits intomainfrom
feat/issue-915-glob-fuzz

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Mar 31, 2026

Summary

  • Implements the glob_fuzz fuzz target declared in threat model but never created
  • Tests glob expansion (via ls), pattern matching (via case), and [[ ]] conditionals
  • Limits input to 512 bytes and nesting depth to 15 to prevent OOM
  • Added to nightly fuzz workflow matrix in fuzz.yml

Test plan

  • Main crate compiles cleanly
  • Fuzz target added to fuzz/Cargo.toml and workflow matrix
  • Follows existing fuzz target patterns (UTF-8 validation, size limits, timeout)
  • CI fuzz compile check will verify it builds with nightly

Closes #915

chaliy added 2 commits March 31, 2026 19:20
Add fuzz target for glob/pathname expansion testing. Exercises glob
expansion via ls, pattern matching via case statements, and [[ ]]
conditional matching. Limits input size and nesting depth to prevent
OOM. Added to nightly fuzz workflow matrix.

Closes #915
@chaliy chaliy merged commit d43a3b0 into main Mar 31, 2026
18 checks passed
@chaliy chaliy deleted the feat/issue-915-glob-fuzz branch March 31, 2026 21:25
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.

test: implement missing glob_fuzz target

1 participant