From 52824a3a7671682065c13290a7b1cff494863cb8 Mon Sep 17 00:00:00 2001 From: Valerie Snyder Date: Wed, 15 Apr 2026 21:21:32 -0400 Subject: [PATCH] Increase bytecode statistics limit The max number of bytecodes which can be tracked (64) is insufficient for the number of bytecode signatures currently published (84). Increased the limit to double the current number of bytecode signatures in bytecode.cvd. Fixes: https://github.com/Cisco-Talos/clamav/issues/1402 --- libclamav/bytecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclamav/bytecode.c b/libclamav/bytecode.c index 5dc3396faa..86010dd3c7 100644 --- a/libclamav/bytecode.c +++ b/libclamav/bytecode.c @@ -44,7 +44,7 @@ #include "builtin_bytecodes.h" #ifndef MAX_TRACKED_BC -#define MAX_TRACKED_BC 64 +#define MAX_TRACKED_BC (84 * 2) /* 84 is the number of signatures in the bytecode database as of 2026-04-15 */ #endif #define BC_EVENTS_PER_SIG 2 #define MAX_BC_SIGEVENT_ID MAX_TRACKED_BC *BC_EVENTS_PER_SIG