From 7ab6bafe399545a5e43f4a7b30602c1be0cbfcc3 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 8 Oct 2025 22:02:05 +0200 Subject: [PATCH] Fix crash when saving empty json string --- Source/ThirdParty/rapidjson/prettywriter.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/ThirdParty/rapidjson/prettywriter.h b/Source/ThirdParty/rapidjson/prettywriter.h index fe45df1d1..c66b6d734 100644 --- a/Source/ThirdParty/rapidjson/prettywriter.h +++ b/Source/ThirdParty/rapidjson/prettywriter.h @@ -108,7 +108,6 @@ public: } bool String(const Ch* str, SizeType length, bool copy = false) { - RAPIDJSON_ASSERT(str != 0); (void)copy; PrettyPrefix(kStringType); return Base::EndValue(Base::WriteString(str, length));