From 98d8dfaa80c1fe0dc8457ad4e0058387ab7360d9 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 30 Sep 2024 16:59:16 +0200 Subject: [PATCH] wip Signed-off-by: Federico Di Pierro --- cmake/modules/falcosecurity-libs.cmake | 7 +++---- userspace/engine/logger.cpp | 4 ++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/cmake/modules/falcosecurity-libs.cmake b/cmake/modules/falcosecurity-libs.cmake index 01ed81a1794..44d699f3a3a 100644 --- a/cmake/modules/falcosecurity-libs.cmake +++ b/cmake/modules/falcosecurity-libs.cmake @@ -42,10 +42,9 @@ else() # version (or branch, or commit) just pass the variable - ie., `cmake # -DFALCOSECURITY_LIBS_VERSION=dev ..` if(NOT FALCOSECURITY_LIBS_VERSION) - set(FALCOSECURITY_LIBS_VERSION "8baec4b102662200b3a382722f01276748125e0f") - set(FALCOSECURITY_LIBS_CHECKSUM - "SHA256=e2750d337f7e28780bd7b4d2efa6ea7a99f43aed2815fd0f7529bfac1a10f429" - ) + set(FALCOSECURITY_LIBS_VERSION "bef6c42caf5bf205af1546b0e7fd78a087b695d5") + # set(FALCOSECURITY_LIBS_CHECKSUM + # "SHA256=e2750d337f7e28780bd7b4d2efa6ea7a99f43aed2815fd0f7529bfac1a10f429" ) endif() # cd /path/to/build && cmake /path/to/source diff --git a/userspace/engine/logger.cpp b/userspace/engine/logger.cpp index 859aa36a83b..cff98d6fcd8 100644 --- a/userspace/engine/logger.cpp +++ b/userspace/engine/logger.cpp @@ -100,6 +100,10 @@ void falco_logger::log(falco_logger::level priority, const std::string&& msg) { return; } + if(msg.empty()) { + return; + } + std::string copy = msg; #ifndef _WIN32