build: enable -Wunsafe-buffer-usage warnings (#44056)

This commit is contained in:
Charles Kerr 2024-10-29 17:28:34 -05:00 committed by GitHub
parent de04fc3b90
commit fb959f8d30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View file

@ -77,3 +77,6 @@ enterprise_cloud_content_analysis = false
# TODO: remove dependency on legacy ipc
# https://issues.chromium.org/issues/40943039
content_enable_legacy_ipc = true
# Electron has its own unsafe-buffers enforcement directories.
clang_unsafe_buffers_paths = "//electron/electron_unsafe_buffers_paths.txt"