From 608fb3da466daa903266cae66f0eb5f6d1ada963 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Wed, 19 Jun 2024 11:47:47 +0200 Subject: [PATCH] Increase the limit for the maximum number of rows in `dotnet` module. See: https://github.com/VirusTotal/yara-x/issues/138 https://github.com/VirusTotal/yara-x/commit/2f410f7dc26f9ff8fcf3847dc143e07126b90a87 --- libyara/modules/dotnet/dotnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyara/modules/dotnet/dotnet.c b/libyara/modules/dotnet/dotnet.c index 19187718bc..fa07d321ba 100644 --- a/libyara/modules/dotnet/dotnet.c +++ b/libyara/modules/dotnet/dotnet.c @@ -2000,7 +2000,7 @@ void dotnet_parse_tilde_2( // Make sure that num_rows has a reasonable value. For example // edc05e49dd3810be67942b983455fd43 sets a large value for number of // rows for the BIT_MODULE section. - if (num_rows > 10000) + if (num_rows > 15000) return; // Those tables which exist, but that we don't care about must be