diff --git a/frameworks/js/napi/update/BUILD.gn b/frameworks/js/napi/update/BUILD.gn index 12084aafb85075e8cf992015de636a8498e189eb..1306b0ae6f67cef230ddbb12a422b0c1a6f1c925 100644 --- a/frameworks/js/napi/update/BUILD.gn +++ b/frameworks/js/napi/update/BUILD.gn @@ -17,8 +17,6 @@ import("../session/update_session.gni") ohos_shared_library("$updateengine_client_library_name") { sanitize = { - integer_overflow = true - ubsan = true boundary_sanitize = true } sources = [] diff --git a/services/engine/BUILD.gn b/services/engine/BUILD.gn index ef90d80573c1b480738044c1f4a91d28e0a30d62..5d100214c1288a531fc54932c0451df253093a21 100644 --- a/services/engine/BUILD.gn +++ b/services/engine/BUILD.gn @@ -34,8 +34,6 @@ ohos_prebuilt_etc("updater_sa.cfg") { ohos_shared_library("$updateengine_library_name") { sanitize = { - integer_overflow = true - ubsan = true boundary_sanitize = true } shlib_type = "sa"