Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

File path in regular expression pattern may fail depending on actual path #92

Closed
s13n opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@s13n
Copy link

s13n commented Jul 23, 2021

In test/CMakeLists.txt line 12, a Regex pattern is being constructed from a variable that holds a system-dependent file path. If that path contains characters that are special in a Regex pattern, a failure results.

Example: A path containing plus signs '+'

Bottom line: Don't construct a Regex pattern from unknown text.

@ashtum
Copy link
Collaborator

ashtum commented Nov 15, 2023

Fixed in 3209276.

@ashtum ashtum closed this as completed Nov 15, 2023
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

No branches or pull requests

2 participants