From f02404ac59216989c56d7c01376cd7f452027d49 Mon Sep 17 00:00:00 2001 From: Artem Chaikin Date: Mon, 28 Oct 2024 15:29:10 +0000 Subject: [PATCH] fix the test case --- assets/semgrep_rules/client/unsafe-cpp-constructs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/semgrep_rules/client/unsafe-cpp-constructs.cpp b/assets/semgrep_rules/client/unsafe-cpp-constructs.cpp index 20fe2025..27b9ea5c 100644 --- a/assets/semgrep_rules/client/unsafe-cpp-constructs.cpp +++ b/assets/semgrep_rules/client/unsafe-cpp-constructs.cpp @@ -1,7 +1,7 @@ -// ruleid: unsafe_cpp_constructs #ifdef UNSAFE_BUFFERS_BUILD // TODO(): Remove this and // convert code to safer constructs. +// ruleid: unsafe_cpp_constructs #pragma allow_unsafe_buffers #endif // ruleid: unsafe_cpp_constructs