From 9cc69f88a0528470ded8a80e1956504683ae8754 Mon Sep 17 00:00:00 2001 From: lns Date: Sat, 30 Jul 2022 09:01:42 +0200 Subject: Improved nDPI JSON serialization. * fixed autoconf CFLAGS/LDFLAGS MSAN issue which could lead to build errors * introduced portable version of gmtime_r aka ndpi_gmtime_r * do as most as possible of the serialization work in ndpi_utils.c * use flow2json in ndpiReader Signed-off-by: lns --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 60f8f2274..3714655e8 100644 --- a/configure.ac +++ b/configure.ac @@ -57,8 +57,8 @@ AS_IF([test "${with_thread_sanitizer+set}" = set],[ ]) AS_IF([test "${with_memory_sanitizer+set}" = set],[ - NDPI_CFLAGS="${CFLAGS} -fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer" - NDPI_LDFLAGS="${LDFLAGS} -fsanitize=memory" + NDPI_CFLAGS="${NDPI_CFLAGS} -fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer" + NDPI_LDFLAGS="${NDPI_LDFLAGS} -fsanitize=memory" ]) AS_IF([test "x${enable_code_coverage}" = "xyes"],[ -- cgit v1.2.3