Skip to content

Commit

Permalink
Increased the regexp complexity limit because of some ClamAV rules.
Browse files Browse the repository at this point in the history
A critical upstream bug (VirusTotal/yara#688) is still unresolved.
  • Loading branch information
JusticeRage committed Jun 25, 2017
1 parent 0e09523 commit b911315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/yara/limits.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Maximum allowed split ID, also limiting the number of split instructions
// allowed in a regular expression. This number can't be increased
// over 255 without changing RE_SPLIT_ID_TYPE.
#define RE_MAX_SPLIT_ID 128
#define RE_MAX_SPLIT_ID 255

// Maximum stack size for regexp evaluation
#define RE_MAX_STACK 1024
Expand Down

0 comments on commit b911315

Please sign in to comment.