Repository navigation
test(fuzz): add fuzz targets for paths, ranges and WebDAV parsing - #401
Merged
Merged
Conversation
Signed-off-by: BryanFRD <bryanferrando59@gmail.com>
BryanFRD
enabled auto-merge (squash)
October 31, 2026 10:25
|
Ready to merge. The code review found no issues, and formal verification failed to run, so there is no result from it. Review This PR adds five cargo-fuzz targets (node paths, Formal verification The formal-verify step failed and returned no result. No properties were checked, and this is not evidence either way. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a cargo-fuzz crate under
fuzz/and a nightly workflow calling the shared reusable.Targets:
node_path:parse_pathnever yields a segment with a separator,./.., a control character or more than 255 bytes, and re-parsing the joined result is stable.rel_path:RelPath::parseis idempotent andto_pathstays inside its root with only normal components.range_plan:ranges::plannever returns a partial range withstart > endorend >= size.propfind: PROPFIND body parsing does not panic on arbitrary XML.lock_headers:If,Lock-TokenandTimeoutparsing returns only tokens present in the header and a positive timeout.dav::propfindis nowpub modso the target can reach it; no behavior change.Ran each target for 60 s locally (0.9M to 3.5M executions each), no findings.