From 616f730ae5cc83b0059203c0a6fa1df109b4ab4b Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 14 Jul 2024 19:31:26 -0700 Subject: [PATCH] flatbuffers: don't crash if there are flatbuffer errors Some japanese user profiles are breaking the flatbuffer profile builder for some reason Changelog-Fixed: Fix pretty bad crash when building flatbuffer profiles Signed-off-by: William Casarin --- nostrdb/flatcc/flatcc_builder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrdb/flatcc/flatcc_builder.h b/nostrdb/flatcc/flatcc_builder.h index 2e84d297..8656449b 100644 --- a/nostrdb/flatcc/flatcc_builder.h +++ b/nostrdb/flatcc/flatcc_builder.h @@ -82,7 +82,7 @@ extern "C" { * Note: some internal assertion will remain if disabled. */ #ifndef FLATCC_BUILDER_ASSERT_ON_ERROR -#define FLATCC_BUILDER_ASSERT_ON_ERROR 1 +#define FLATCC_BUILDER_ASSERT_ON_ERROR 0 #endif /*