From 9a871f7c4ee1595646f0536276748b2160a05229 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Wed, 28 Jun 2023 14:10:35 -0700 Subject: [PATCH] Export symbols for calculating image fuzzy hash These symbols are used by an internal python tool for generating signatures: - fuzzy_hash_calculate_image - ffierror_fmt `ffierror_fmt` is required to free the error structure passed back in case of an error. Since version 1.1.0 started using libclamav.map again, we need to explicitly export these symbols. --- libclamav/libclamav.map | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libclamav/libclamav.map b/libclamav/libclamav.map index 6fe8ce253c..f4c9ef9130 100644 --- a/libclamav/libclamav.map +++ b/libclamav/libclamav.map @@ -295,6 +295,8 @@ CLAMAV_PRIVATE { init_domain_list; lsig_increment_subsig_match; readdb_parse_ldb_subsignature; + fuzzy_hash_calculate_image; + ffierror_fmt; __cli_strcasestr; __cli_strndup;