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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user