From 033aff4f6c0587d2a621d5ecbd679c96c370e200 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 24 Jul 2023 15:06:48 +0200 Subject: [PATCH] all: Error out on bidirectional characters (CVE-2021-42574) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f587d808..9740c155 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ set(COMMON_FLAGS -Wall -Wextra -Werror -Wvla -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wcast-qual -Wundef -Wcast-align -Wwrite-strings -Wlogical-op - -Wredundant-decls -Wshadow -Wconversion + -Wredundant-decls -Wshadow -Wconversion -Wbidi-chars=any -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -std=c++20 -fno-rtti -fno-exceptions)