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
This commit is contained in:
Luca Deri
2023-08-12 00:27:37 +02:00
parent 8e17f50853
commit fe634b8d55
+4 -2
View File
@@ -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"