Exponential regex
jarmar opened this issue · 0 comments
jarmar commented
This regex in src/tracer/ebpf/syscall_schema.h
has exponential complexity due to the double +
signs:
std::regex argFieldTypeName("(field:)([a-zA-Z0-9_\\s\\*]+)+(;)");
This caused ProcMon
to hang on startup on my machine. The solution should be to remove the second +
.