clp
clp copied to clipboard
clp-s: Inifinite loop for queries with consecutive backslash and wildcard characters
Bug
When using clp-s to search for a log-text with a wildcard query, if the query contains \* or \?, it runs into an infinite loop in get_bounds_of_next_potential_var.
CLP version
3e95aafe132cd713169acf79cd15f7c13a63cabd
Environment
MacOS 13.2.1
Reproduction steps
Compress the following log and run the query a: *He\*llo*, the program never terminates.
{"a": "Hello world?", "b": 1, "c":"*"} {"a": "Hello *", "b": "?world"}