Skip to content

[Benchmark] Sanitize --save input and strip strip while validating #18073

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: sycl
Choose a base branch
from

Conversation

ianayl
Copy link
Contributor

@ianayl ianayl commented Apr 16, 2025

This PR adds a sanitation check for the --save flag: Improper --save names may result in bad linux filenames.

Additionally, this PR applies strip() on inputs in order to prevent extra spaces or newlines in filenames

@ianayl ianayl requested a review from a team as a code owner April 16, 2025 21:29
@ianayl ianayl temporarily deployed to WindowsCILock April 16, 2025 21:29 — with GitHub Actions Inactive
@ianayl ianayl temporarily deployed to WindowsCILock April 16, 2025 21:45 — with GitHub Actions Inactive
@ianayl ianayl temporarily deployed to WindowsCILock April 16, 2025 21:45 — with GitHub Actions Inactive
@ianayl ianayl temporarily deployed to WindowsCILock April 16, 2025 21:56 — with GitHub Actions Inactive
Copy link
Contributor

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lukaszstolarczuk
Copy link
Contributor

@intel/llvm-gatekeepers I believe this is ready for merge.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants