Slow performance / timeouts on specific fileset

Description

Sometimes repository scanning times out on this staging dataset repo: C / curl-51868, so overall scanning fails. It happens when scanning thousand short files under tests/data folder.

Probably caused by slow GENERIC_PASSWORD regexp performance on some files.\

The issue is caused when scanning tests/data/test56 with the GENERIC_PASSWORD rule. The file (attached) has a single line that’s 100,004 characters long.

Environment

None

Assignee

Unassigned

Reporter

Alexey Remnev

Sprint

None

Labels

None

Github URL

None

Priority

Medium
Configure