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

Wrong parsing of pcre and possibly others #97

Open
vpiserchia opened this issue Dec 21, 2023 · 0 comments
Open

Wrong parsing of pcre and possibly others #97

vpiserchia opened this issue Dec 21, 2023 · 0 comments

Comments

@vpiserchia
Copy link

I've just found a possible problems in the options parsing function find_opt_end

For example when in a quoted options (like the PCRE ones, but also others ) it is possible to find a semicolon char and break the parsing.

To explain, the following returns a wrong option list:

pcre:"/[^\x15][^I?>(i/.7*)+96][ -\',-013-68;-=@-GJ-MOP-_`hk-op-tv-\x7f]{1,14}\x15/R"; 
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

1 participant