From fe634b8d55b58e7f63ddc38ac29d63592b1801e3 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 12 Aug 2023 00:27:37 +0200 Subject: Fixed to address issue Run ./utils/check_symbols.sh || { FAILED=$?; echo "::error file=${NDPI_LIB}::Unwanted libc symbols found: ${FAILED}. Please make sure to use only ndpi_malloc/ndpi_calloc/ndpi_realloc/ndpi_free wrapper instead of malloc/calloc/realloc/free."; false; } [ndpi_filter.o]: calloc Unwanted symbols found: 1 Please make sure to use only ndpi_malloc/ndpi_calloc/ndpi_realloc/ndpi_free wrapper instead of malloc/calloc/realloc/free Error: Unwanted libc symbols found: 1. Please make sure to use only ndpi_malloc/ndpi_calloc/ndpi_realloc/ndpi_free wrapper instead of --- src/lib/ndpi_filter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/ndpi_filter.c b/src/lib/ndpi_filter.c index 579d49638..2c06773fb 100644 --- a/src/lib/ndpi_filter.c +++ b/src/lib/ndpi_filter.c @@ -35,8 +35,10 @@ #include "ndpi_includes.h" #include "ndpi_encryption.h" -#define malloc ndpi_malloc -#define free ndpi_free +#define malloc ndpi_malloc +#define calloc ndpi_calloc +#define realloc ndpi_realloc +#define free ndpi_free #include "third_party/include/binaryfusefilter.h" -- cgit v1.2.3