Skip to content

test(execution): expand fluid_log_path validation coverage#6

Merged
fuse merged 1 commit into
developfrom
test/expand-fluid-log-path-coverage
May 26, 2026
Merged

test(execution): expand fluid_log_path validation coverage#6
fuse merged 1 commit into
developfrom
test/expand-fluid-log-path-coverage

Conversation

@fuse

@fuse fuse commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Strengthen tests for the CodeQL go/path-injection fix on fluid_log_path:

  • Valid paths (trim, extra slashes, child under /tmp/fluid/).
  • Rejected paths (relative, outside root, .., /tmp/fluid-evil/, null byte).
  • startFileLogForwarder no-op when path is rejected.

Test plan

  • go test ./execution/...

Table-driven tests for safeFluidLogPath (traversal, prefix siblings,
null byte) and startFileLogForwarder rejection without tailing.
@fuse fuse merged commit 444a977 into develop May 26, 2026
@fuse fuse deleted the test/expand-fluid-log-path-coverage branch May 26, 2026 15:20
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.

1 participant