clp icon indicating copy to clipboard operation
clp copied to clipboard

clp-s: Inifinite loop for queries with consecutive backslash and wildcard characters

Open wraymo opened this issue 1 year ago • 0 comments

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"}

wraymo avatar May 14 '24 16:05 wraymo